home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 1.iso / desktop / ozw108d.zip / wozgis.doc
Text File  |  1995-04-11  |  850KB  |  11,292 lines

  1.                                                                                 
  2.                                                                                 
  3.                                                                                 
  4.                                                                                 
  5.                                                                                 
  6.                                                                                 
  7.                                                                                 
  8.                                                                                 
  9.                                                                                 
  10.                                                                                 
  11.                                                                                 
  12.                                                                                 
  13.                                                                                 
  14.                                                                                 
  15.                                                                                 
  16.                                                                                 
  17.                                                                                 
  18.                                                                                 
  19.                                                                                 
  20.                                                                                 
  21.                                                                                 
  22.                                                                                 
  23.                                                                                 
  24.                                                                                 
  25.                                 OzGIS                                           
  26.                                                                                 
  27.                                 V10.8                                           
  28.                                                                                 
  29.                                                                                 
  30.                             For WINDOWS3.1                                      
  31.                                                                                 
  32.                              (April 1995)                                       
  33.                                                                                 
  34.                                                                                 
  35.                                                                                 
  36.                                                                                 
  37.                                                                                 
  38.                                                                                 
  39.                                                                                 
  40.                                                                                 
  41.                                                                                 
  42.                                                                                 
  43.                                                                                 
  44.                                                                                 
  45.                                                                                 
  46.                                                                                 
  47.                                                                                 
  48.                                                                                 
  49.                                                                                 
  50.                          The Clever Company.                                    
  51.                                                                                 
  52.                          QMDD Box 6108,                                         
  53.                          Queanbeyan,                                            
  54.                          Australia 2620.                                        
  55.                                                                                 
  56.                          FAX +61 6 299 3211                                     
  57.                                                                                 
  58.  
  59.                                                                        2
  60.                PREFACE                                                          
  61.                                                                                 
  62. OzGIS is a software system for displaying geographically referenced data as     
  63. coloured maps on graphics display devices. The maps portray the data            
  64. values associated with geographic zones by uniform colours, site data by        
  65. different sized symbols, and line data by different line types.                 
  66. The system can be used to analyze socio-economic and demographic                
  67. data produced by censuses and surveys and to support management decisions       
  68. associated with for example marketing, sales, site and personnel location,      
  69. and advertising. Other spatial data such as environmental data can be displayed.
  70.                                                                                 
  71. The software was originally developed as part of a research project at the      
  72. Division of computing Research of the Commonwealth Scientific and Research      
  73. Organisation (CSIRO) in Canberra for a mapping product called COLOURMAP.        
  74.                                                                                 
  75. Software development started in 1979 with the purchase of hardware that had     
  76. been developed for the DIDS mapping system in the White House in Washington DC. 
  77. This hardware consisted of a PDP11 mini-computer and a DeAnza display system.   
  78. The display featured a 12bit frame buffer, 4096 value primary look-up table and 
  79. cascaded 256 value colour table. This enabled maps of up to 4000 zones (e.g.    
  80. USA Counties) to be displayed and manipulated very rapidly, and is the best     
  81. hardware so far produced.                                                       
  82.                                                                                 
  83. The environment changed over several years, with moves to larger PDP11 systems  
  84. and to VAX and CDC machines. Several display systems were used, Tektronix,      
  85. Jupiter and RAMTEK, and maps were generated on plotters and film recorders. The 
  86. system was also available on CSIRONET, an Australia-wide computer network with  
  87. Control Data and FACOM host computers. The 1981 ABS Census data could be        
  88. accessed via the SIR/CENSYS system on the Cyber 845. A system was developed to  
  89. handle the Census district boundaries digitised by the Division of National     
  90. Mapping, to enable windowing, line simplification and aggregation for production
  91. of geographic map data files. The SAS system was available on the FACOM 180 for 
  92. statistical analysis and display of map data.                                   
  93.                                                                                 
  94. The first year of development was supported by Techway, and APASCO supported    
  95. the development of techniques for retail applications. APASCO used the system   
  96. and hardware for several years as part of their consulting activities to churn  
  97. out thousands of maps.                                                          
  98.                                                                                 
  99.  The Division of computing research was split into the CSIRONET computing bureau
  100. and the new Division of Information Technology in 1985. Later, CSIRONET was     
  101. given to private industry. The mapping project was abandoned.                   
  102.                                                                                 
  103. The software was resurrected in late 1990 and ported to the IBM PC to produce   
  104. the current system.                                                             
  105.                                                                                 
  106.  The purpose of the Guide is to introduce the facilities of OzGIS. The Guide is 
  107. intended to complement the messages and assistance given during the operation of
  108. OzGIS.                                                                          
  109.                                                                                 
  110.  The user should understand the techniques of statistical data analysis and     
  111. computer mapping, and also have an elementary understanding of colour           
  112. representations.                                                                
  113.                                                                                 
  114.  
  115.                                                                        3
  116.                                                                                 
  117.                                                                                 
  118. The Clever Company is a Canberra based software company offering consulting and 
  119. contract programming services in the areas of:                                  
  120.                                                                                 
  121. . C and FORTRAN programming                                                     
  122. . Spatial databases                                                             
  123. . Scientific applications                                                       
  124. . Graphics                                                                      
  125. . UNIX workstation, minicomputer and PC environments                            
  126.                                                                                 
  127. The Clever Company was formerly Geismar Holdings Pty Ltd.                       
  128.                                                                                 
  129.  
  130.                                                                        4
  131.                     1. OzGIS INTRODUCTION                                
  132.                        ==================
  133.  
  134.                                                                                 
  135.                                                                                 
  136. This chapter gives an overview of the programs in the OzGIS system, the concepts
  137. behind the design of the system, and something about the software.              
  138.                                                                                 
  139.                                                                                 
  140.                                                                                 
  141.  
  142.   1. 1 Programs                                          
  143.        --------
  144.  
  145.                                                                                 
  146. The OzGIS system is available for DOS and WINDOWS3.1                            
  147.                                                                                 
  148. The DOS system consists of several modules:                                     
  149.                                                                                 
  150. OzEnter  - for entry of data files into the system.                             
  151. OzData   - preparation of data for mapping                                      
  152. OzZone   - formation of polygons / lines structure from line segments           
  153. OzGIS    - interactive display and analysis                                     
  154. OzCensus - Display and analysis of Census type data (subset of OzGIS)           
  155. OzGISco  - maths coprocessor version of OzGIS                                   
  156. OzMap    - output of saved displays on plotters and printers and to files       
  157. OzTerr   - definition of territories from zones                                 
  158. OzCatch  - site catchment analysis                                              
  159. OzProj   - map projections                                                      
  160. OzSpat   - spatial operations                                                   
  161.                                                                                 
  162. The WINDOWS version allows more RAM to be used, so most of the programs can be  
  163. combined (as was the original version).                                         
  164.                                                                                 
  165. WOzGIS    - most of the system. A variation allows for simple Census mapping    
  166. WOzMap    - output of saved displays on plotters and printers and to files      
  167.                                                                                 
  168. Note that you can only run one program at a time under WINDOWS.                 
  169.                                                                                 
  170. Start mapping with the Simple Census Mapping program, which is a subset         
  171. of the OzGIS program.                                                           
  172.  
  173.   1. 2 Concepts                                          
  174.        --------
  175.  
  176.  OzGIS aims to accept basic data files and to provide most of the facilities    
  177. required for the analysis and display of attribute data as maps. The            
  178. analyst has to be able to rapidly use the facilities, so OzGIS provides an      
  179. interactive user interface. The user interacts via menus and is aided by on-line
  180. assistance.                                                                     
  181.                                                                                 
  182.  Visual inspection of choropleth maps is the intuitive way to interpret the     
  183. spatial features of data. An analyst needs to be able to rapidly display and    
  184. manipulate maps to aid his understanding. OzGIS was designed to enable maps to  
  185. be changed within seconds so the analyst does not lose his train of thought.    
  186.                                                                                 
  187.  OzGIS enables the analyst not just to display a map, but to generate the map   
  188.  
  189.                                                                        5
  190. that best shows the features of the attribute data. A hardcopy map can be       
  191. generated as the final operation as a record or for dissemination.              
  192.                                                                                 
  193. Easy to use systems are either trivial systems, or have a small number of       
  194. options. The enormous number of options within OzGIS means that it takes        
  195. some time to understand everything. However, maps can be produced quite simply  
  196. by using only a small number of options and by using the system defaults.       
  197.                                                                                 
  198.                                                                                 
  199.  OzGIS can be considered as one system of a facility for analysis and display   
  200. of Census type data. The various components are:                                
  201.                                                                                 
  202.  - Database systems for manipulation and retrieval of attribute data            
  203.  - Systems for generation of map boundary data                                  
  204.  - Statistical analysis systems with graphic display and reporting facilities   
  205.  - Mapping systems with analysis and hardcopy facilities.                       
  206.                                                                                 
  207. Hence you may use:                                                              
  208. a CAD package for digitising geographic data                                    
  209. a database system for storing attribute data                                    
  210. a spreadsheet for manipulating numeric data                                     
  211. a statistics program for analysis                                               
  212. etc                                                                             
  213.                                                                                 
  214.  It is expected that an analyst would have access to a PC close to his          
  215. office. The PC/workstation may be connected via a computer network to           
  216. provide access to large host machines. The host machines would contain the      
  217. database systems from which map data could be extracted, and other systems for  
  218. analysis and hard-copy generation.                                              
  219.                                                                                 
  220.  
  221.   1. 3 Environment                                       
  222.        -----------
  223.  
  224.  OzGIS requires advanced raster display systems for rapid display of maps.      
  225. Unfortunately PC display systems are extremely limited in capability. In        
  226. particular only a maximum of 256 colours are available (on 512K super VGA       
  227. boards). OzGIS is able to generate maps on most graphic devices by using polygon
  228. fill to colour map zones. This faciity also allows for hardcopy generation of   
  229. maps previewed on raster displays.  PC display systems do not have hardware     
  230. polygon fill, so map display is slow.                                           
  231.                                                                                 
  232.  OzGIS is based on the GKS graphics standard. The standard provides device      
  233. independence, and the basic graphic capabilities of lines, text and fill. OzGIS 
  234. does contain its own set of GKS-type routines which can be used to interface to 
  235. display devices with hardware fill capabilities or to other device independent  
  236. packages. The INTERACTOR graphics package is used for the DOS version,          
  237. and the SCIPLOT package for hardcopy map production. The WINDOWS API is used    
  238. for the WINDOWS3.1 version.                                                     
  239.                                                                                 
  240.  OzGIS is a large FORTRAN program. It will run on computer systems with a       
  241. FORTRAN 77 compiler and about a mega-byte of memory. The system is well         
  242. structured, so by using overlays and reducing capabilities (array sizes) the    
  243. software can be implemented in smaller memory machines. Hence OzGIS is          
  244. reasonably portable.  The PC version is heavily overlayed to fit it into the    
  245. artificial 640K limit imposed by the DOS operating system. Later additions to   
  246. OzGIS are also being coded in 'C' and C++.                                      
  247.                                                                                 
  248.  
  249.                                                                        6
  250.                                                                                 
  251. The WINDOWS3.1 version enables extended memory to be used, although system      
  252. limits still prevent the hardcopy (SCIPLOT) part being incorporated into the    
  253. main program. A 386 with at least 4Meg of RAM and a mouse is required.          
  254.                                                                                 
  255. Generally the speed of the system is dependent on hardware:                     
  256.                                                                                 
  257. Processor 286 -> 386 -> 486                                                     
  258. Disk speed                                                                      
  259. Floating point processor                                                        
  260. Extra memory for RAM disk                                                       
  261.                                                                                 
  262. INTERACTOR is a graphics package produced by:                                   
  263.                                                                                 
  264. Interactive Software Services,                                                  
  265. 25 St Michael's Close,                                                          
  266. Penkridge,                                                                      
  267. Stafford. ST19 5AD.                                                             
  268. U.K.                                                                            
  269.                                                                                 
  270. We have found INTERACTOR very good, and the support is excellent.               
  271.                                                                                 
  272. SCIPLOT is a plotting package produced by:                                      
  273.                                                                                 
  274. MicroGlyph Systems,                                                             
  275. PO Box 474,                                                                     
  276. Lexington, MA 02173,                                                            
  277. U S A                                                                           
  278.  
  279.                                                                        7
  280.                     2. INSTALLATION                                      
  281.                        ============
  282.  
  283.                                                                                 
  284.                                                                                 
  285. This chapter describes how to set up the OzGIS system and how to make the       
  286. best use of your hardware.                                                      
  287.                                                                                 
  288. The READ.ME file supplied on the first floppy disk is a shorter version of this 
  289. chapter and may be an easier way to get started.                                
  290.                                                                                 
  291.                                                                                 
  292.                                                                                 
  293.                                                                                 
  294.  
  295.   2. 1 Installation                                      
  296.        ------------
  297.  
  298.                                                                                 
  299. The software is supplied on floppy disks with most files compressed by          
  300. the PKZIP program.                                                              
  301.                                                                                 
  302. The files must all be first copied to the hard disk drive that you are going to 
  303. use into a directory that must be \OZGIS.                                       
  304.                                                                                 
  305.                                                                                 
  306. The installation procedure is as follows:                                       
  307.                                                                                 
  308. 1. set up the \OZGIS directory                                                  
  309.                                                                                 
  310. CD \                                                                            
  311. MKDIR OZGIS                                                                     
  312.                                                                                 
  313. 2. copy all files from floppy disk to the \OZGIS directory                      
  314.                                                                                 
  315. CD \OZGIS                                                                       
  316. COPY a:*.* (for each disk)                                                      
  317.                                                                                 
  318. 3. Run the installation procedure                                               
  319.                                                                                 
  320. INSTALL                                                                         
  321.                                                                                 
  322.  
  323.   2. 2 Documentation                                     
  324.        -------------
  325.  
  326. The manual is usually supplied on disk as OZWIN.DOC                             
  327.                                                                                 
  328. The WOTSNEW.DOC file contains details of changes to the system.                 
  329.  
  330.   2. 3 Directories                                       
  331.        -----------
  332.  
  333. The installation process sets up two directories:                               
  334.                                                                                 
  335. \ozgis contains OzGIS system files                                              
  336. \ozdemo contains example map files                                              
  337.  
  338.                                                                        8
  339.                                                                                 
  340. You should also set up at least one directory for your own use e.g. \mapping    
  341. Your own directories must be on the same disk drive as \ozgis                   
  342.                                                                                 
  343.  
  344.   2. 4 Environment                                       
  345.        -----------
  346.  
  347. OzGIS should run on any WINDOWS3.1 system with at least 4Meg of RAM, a 386 or   
  348. 486 processor, and a mouse.                                                     
  349.                                                                                 
  350. Refer to the "Trouble Shooting" chapter if you have memory problems.            
  351.  
  352.   2. 5 Display Drivers                                   
  353.        ---------------
  354.  
  355. Standard VGA screens are adequate for simple maps, but it is recommended that   
  356. you purchase a super VGA video card and monitor to obtain the highest screen    
  357. resolution and the highest number of colours possible. 1MByte super VGA boards  
  358. that provide 1024X768 pixels and 256 colours are recommended.                   
  359.                                                                                 
  360. You have to run SETUP in the c:\windows directory to install the driver for a   
  361. super VGA board. See the WINDOWS manual.                                        
  362.                                                                                 
  363. OzGIS is very demanding and it is suspected that some manufacturer's drivers    
  364. may be inadequate. If you have problems try a more standard VGA driver.         
  365.  
  366.   2. 6 Installion in WINDOWS                             
  367.        ---------------------
  368.  
  369. Installation requires setting up a program group and then defining              
  370. program items in it. This is described fully in the WINDOWS documentation.      
  371.                                                                                 
  372. The installation process will copy a program group file for OzGIS for the C:    
  373. drive, and will also attemp to copy to the D: drive. You will have to modify the
  374. group for other drives, or if your \WINDOWS directory is not on the C: drive.   
  375.                                                                                 
  376. To set up a program group, select "New" from the "Files" menu in the Program    
  377. Manager and give the program group file as "OZGIS.GRP"                          
  378.                                                                                 
  379. This will pick up the files from \WINDOWS where it was placed by the            
  380. installation procedure. You may find that the icons are not enabled.            
  381.                                                                                 
  382.                                                                                 
  383. For example:                                                                    
  384.                                                                                 
  385. Suppose the directories are on disk drive D: as D:\OZGIS, D:\OZDEMO and         
  386. D:\MAPPING                                                                      
  387.                                                                                 
  388. Then the groups should look like:                                               
  389.                                                                                 
  390. Description:     Demonstration                                                  
  391. Command line:    d:\ozgis\ozdemo.exe                                            
  392. Work Directory:  d:\ozdemo                                                      
  393.                                                                                 
  394. Description:     Demo OzGIS                                                     
  395. Command line:    d:\ozgis\wozgis.exe  12   (dont leave off the 12!!)            
  396. Work Directory:  d:\ozdemo                                                      
  397.  
  398.                                                                        9
  399.                                                                                 
  400. Description:     Demo Simple Census Mapping                                     
  401. Command line:    d:\ozgis\wozgis.exe  15                                        
  402. Work Directory:  d:\ozdemo                                                      
  403.                                                                                 
  404. Description:     Demo OzMap                                                     
  405. Command line:    d:\ozgis\wozmap.exe                                            
  406. Work Directory:  d:\ozdemo                                                      
  407.                                                                                 
  408. Description:     Demo Vector                                                    
  409. Command line:    d:\ozgis\vector.exe                                            
  410. Work Directory:  d:\ozdemo                                                      
  411.                                                                                 
  412. And a similar set for your own directory:                                       
  413.                                                                                 
  414. Description:     Mapping                                                        
  415. Command line:    d:\ozgis\wozgis.exe 12                                         
  416. Work Directory:  d:\mapping                                                     
  417.                                                                                 
  418. Description:     Census-type mapping                                            
  419. Command line:    d:\ozgis\wozgis.exe 15                                         
  420. Work Directory:  d:\mapping                                                     
  421.                                                                                 
  422. Description:     Hardcopy maps                                                  
  423. Command line:    d:\ozgis\wozmap.exe                                            
  424. Work Directory:  d:\mapping                                                     
  425.                                                                                 
  426. Description:     Metafile output                                                
  427. Command line:    d:\ozgis\vector.exe                                            
  428. Work Directory:  d:\mapping                                                     
  429.                                                                                 
  430.                                                                                 
  431. Whenever you start a new project you will probably set up a new directory and   
  432. then define some program items to reference that directory.                     
  433.                                                                                 
  434. Some of the versions of WINDOWS do not allow you to give a working directory. In
  435. this case the working directory will be where the program is executed from i.e. 
  436. /OZGIS. You will then find it easiest to do all your mapping in \OZGIS. First of
  437. all move the \OZDEMO demonstration files to \OZGIS i.e.                         
  438.       cd \ozgis                                                                 
  439.       copy  \ozdemo\*.*                                                         
  440.       del   \ozdemo\*.*                                                         
  441.       rmdir \ozdemo                                                             
  442.                                                                                 
  443.  
  444.   2. 7 OzGIS initialisation file                         
  445.        -------------------------
  446.  
  447.                                                                                 
  448. The file \OZGIS\OZGIS.INI is the initialisation file for the system.            
  449.                                                                                 
  450. The file should NOT have to be modified initially.                              
  451.                                                                                 
  452. The file should be well commented, and modifications should be fairly obvious.  
  453. Ensure that you dont alter the columns used i.e. the file is not free format!   
  454.                                                                                 
  455. The first three lines should define you video board (although the system        
  456. currently gets the information from the WINDOWS screen driver).                 
  457.  
  458.                                                                       10
  459.                                                                                 
  460.                                                                                 
  461. e.g. for the VGA board                                                          
  462.                                                                                 
  463.        640         Number of pixels across VGA screen                           
  464.        480         Number of lines on screen                                    
  465.         16         Number of colours                                            
  466.                                                                                 
  467. The initial user interface settings for trace and help levels are here. You can 
  468. modify them later if you like.                                                  
  469.                                                                                 
  470. You can also control the automatic redisplay of maps after you select a new     
  471. option.                                                                         
  472.                                                                                 
  473. An important part of the file is the entries that define the fonts that are     
  474. used. There is more information about these in the section on the formats of    
  475. device files.                                                                   
  476.                                                                                 
  477. The first font in the list is usually used (set to Arial initially).            
  478.                                                                                 
  479. You can view the fonts on your system by choosing the Fonts icon in the Control 
  480. Panel window.                                                                   
  481.                                                                                 
  482. If you find that no text is displayed on maps you probably do not have the      
  483. usual fonts installed so will have to change to one that you have.              
  484.                                                                                 
  485. Fonts have to be variable size so TrueType fonts should be used.                
  486.                                                                                 
  487. There has been some problems setting correct sizes so dont change fonts unless  
  488. there is good reason to do so.                                                  
  489.                                                                                 
  490.  
  491.   2. 8 Demonstration                                     
  492.        -------------
  493.  
  494.                                                                                 
  495. You should start by looking at the OzGIS demonstration which consists of a      
  496. series of saved maps.                                                           
  497.                                                                                 
  498. You can run the demonstration from the item in the program group you just set   
  499. up.                                                                             
  500.                                                                                 
  501.  
  502.   2. 9 First Example Map                                 
  503.        -----------------
  504.  
  505.                                                                                 
  506. The first example is a choropleth map of Australia, which is an example of a    
  507. very common type of map to display attributedata like Census data, sales data,  
  508. or government statistics.                                                       
  509.                                                                                 
  510. Within WINDOWS run the "Demo OzGIS" program item that you just set up.          
  511.                                                                                 
  512. Choose Map from the toolbar, and then DISPLAY ZONES FOR AN ATTRIBUTE FILE       
  513. from the pulldown menu.                                                         
  514.                                                                                 
  515. give the attribute file name as OZ                                              
  516.                                                                                 
  517.  
  518.                                                                       11
  519. give the geographic file name as OZ                                             
  520.                                                                                 
  521. You will have a default map with legend and distribution diagram. The legend    
  522. has the numbers of zones in each class on the left and the class value ranges   
  523. to the right of the coloured boxes.                                             
  524.                                                                                 
  525.                                                                                 
  526.  
  527.   2.10 Second Example Map                                
  528.        ------------------
  529.  
  530.                                                                                 
  531. The next example is the display of digitised map data for Hawaii. These types   
  532. of maps show polygon (here islands), line (roads, rivers etc) or points data    
  533. (e.g. towns).                                                                   
  534.                                                                                 
  535. Select "Top menu" from the Files menu.                                          
  536.                                                                                 
  537. Choose the Map pulldown menu again, and then DISPLAY GEOGRAPHIC FILES.          
  538.                                                                                 
  539. Choose the menu option DISPLAY POLYGONS FROM A GEOGRAPHIC FILE                  
  540.                                                                                 
  541. Give the file name as "HAWDLGWB".                                               
  542.                                                                                 
  543. Accept the default polygon number and give the legend text as "Hawaii".         
  544.                                                                                 
  545. Accept the default (No) for drawing polygon boundaries.                         
  546.                                                                                 
  547. The islands of Hawaii will be drawn.                                            
  548.                                                                                 
  549. Choose the option OVERLAY LINE SEGMENTS FROM A GEOGRAPHIC FILE                  
  550.                                                                                 
  551. Give the file name "HAWDLGST"                                                   
  552.                                                                                 
  553. Accept the default line number and give the legend text as "Rivers".            
  554.                                                                                 
  555. This example uses two files originally in DLG-3 optional format, off the USGS   
  556. CD-ROM.  This is a simplified example; usually feature codes in these files are 
  557. used to subset the data e.g. to draw rivers and streams in different colours.   
  558.                                                                                 
  559.                                                                                 
  560. Finally -                                                                       
  561.                                                                                 
  562. Choose "Quit" from the Files menu.                                              
  563.  
  564.   2.11 Hardcopy configuration                            
  565.        ----------------------
  566.  
  567. Configuration for production of hard-copy maps via OzMap is described in the    
  568. appendix.                                                                       
  569.  
  570.                                                                       12
  571.                     3. DATA ENTRY                                        
  572.                        ==========
  573.  
  574.                                                                                 
  575.                                                                                 
  576. This chapter shows how to import your data into the OzGIS system.               
  577.                                                                                 
  578.                                                                                 
  579.                                                                                 
  580.                                                                                 
  581.                                                                                 
  582.                                                                                 
  583.  
  584.   3. 1 Introduction                                      
  585.        ------------
  586.  
  587.                                                                                 
  588. Most data are entered into OzGIS as external data files. Examples are Census    
  589. data and Census digitised boundaries. These files come from Census Bureaux,     
  590. Mapping agencies, data supply companies or your own data-base systems.          
  591. Some data can be prepared or modified with word processors or spreadsheets.     
  592.                                                                                 
  593. Several data fornmats are supported. If your format is not supported            
  594. you have to convert it into one of the supported formats or the OzGIS standard  
  595. format for the type of file.                                                    
  596.                                                                                 
  597. The data entry options are initiated by choosing IMPORT DATA FILES from the     
  598. File menu.                                                                      
  599.                                                                                 
  600. The main menu enables selection of the type of file:                            
  601.                                                                                 
  602. IMPORT GEOGRAPHIC FILES                                                         
  603. IMPORT ATTRIBUTE FILES                                                          
  604. IMPORT A NAMES FILE                                                             
  605. IMPORT A COMBINE FILE                                                           
  606. IMPORT A DEVICE FILE                                                            
  607. IMPORT A MARKER FILE                                                            
  608.                                                                                 
  609. Choosing a menu item may generate another menu e.g. for GEOGRAPHIC FILES        
  610.                                                                                 
  611. IMPORT A STANDARD FORMAT GEOGRAPHIC FILE                                        
  612. IMPORT NEW FORMAT SAS GEOGRAPHIC FILE                                           
  613. IMPORT OLD FORMAT SAS GEOGRAPHIC FILE                                           
  614. IMPORT A DLG-3 OPTIONAL FORMAT GEOGRAPHIC FILE                                  
  615. IMPORT A GINA FORMAT GEOGRAPHIC FILE                                            
  616. IMPORT A TIGER FORMAT GEOGRAPHIC FILE                                           
  617. IMPORT A DIME FORMAT GEOGRAPHIC FILE                                            
  618. IMPORT A DXF FORMAT GEOGRAPHIC FILE                                             
  619.     .                                                                           
  620.     .                                                                           
  621.     .                                                                           
  622.     .                                                                           
  623.                                                                                 
  624. where DLG-3, TIGER, DXF etc are different data formats.                         
  625.                                                                                 
  626.                                                                                 
  627. In all cases, data entry requires giving the name of your data file and         
  628.  
  629.                                                                       13
  630. supplying the name to be used for the internal file.                            
  631.                                                                                 
  632.                                                                                 
  633. Data files usually have names that finish with the extension DAT.               
  634. e.g. LONDON.DAT, A:SALES.DAT.                                                   
  635.                                                                                 
  636. The one time a full file name can be given within OzGIS is when reading a data  
  637. file, as it is sometimes inconvenient to rename files (but typing L for a list  
  638. of files will only list those with extension .DAT). For example you may have    
  639. TIGER files from the US Census bureau on CD-ROM. Then you could read the files  
  640. directly by giving the complete file name e.g. E:/18/003/TGR18003.F42           
  641.                                                                                 
  642. Often data files will need further processing before used for mapping e.g.      
  643. attribute data may need manipulating by arithmetic expressions or geographic    
  644. line segments may need thinning and forming into polygons.                      
  645.                                                                                 
  646. Future versions of the OzGIS system may have incompatible internal file formats 
  647. so always keep important data files.                                            
  648.                                                                                 
  649. The system comes with many of the system files already entered e.g. device      
  650. files. The data files are also provided.                                        
  651.  
  652.   3. 2 Example of data entry                             
  653.        ---------------------
  654.  
  655. You will often have a file of attribute data (such as population Census         
  656. data) and a file of digitised boundary data for mapping (e.g. TIGER):           
  657.                                                                                 
  658. We will look at data for Australia. There are two data files:                   
  659.                                                                                 
  660. OZ-G.DAT are the digitised boundary data, (Australian Statistical Divisions)    
  661. OZ-A.DAT are the attribute data                                                 
  662.                                                                                 
  663. Execute the OzGIS program for the demo directory.                               
  664.                                                                                 
  665. Choose IMPORT DATA FILES from the File pulldown menu.                           
  666.                                                                                 
  667. A menu will appear like:                                                        
  668.                                                                                 
  669. 1 TUTORIALS & SYSTEM INFORMATION                                                
  670. 2 IMPORT GEOGRAPHIC FILES                                                       
  671. 3 IMPORT ATTRIBUTE FILES                                                        
  672. 4 IMPORT A NAMES FILE                                                           
  673. 5 IMPORT A COMBINE FILE                                                         
  674. 6 IMPORT A DEVICE FILE                                                          
  675. 7 IMPORT A MARKER FILE                                                          
  676.                                                                                 
  677. You select the options by moving up and down with the arrows and pressing Enter 
  678. or by typing the number.                                                        
  679.                                                                                 
  680. The system trace is usually turned on so messages will appear on the screen     
  681. during processing.                                                              
  682.                                                                                 
  683.                                                                                 
  684.                                                                                 
  685. First enter the digitised boundary data:                                        
  686. ---------------------------------------                                         
  687.                                                                                 
  688.  
  689.                                                                       14
  690.                                                                                 
  691. Select the option to IMPORT GEOGRAPHIC FILES                                    
  692.                                                                                 
  693. The next menu appears:                                                          
  694.                                                                                 
  695. 1 IMPORT A STANDARD FORMAT GEOGRAPHIC FILE                                      
  696. 2 IMPORT NEW FORMAT SAS GEOGRAPHIC FILE                                         
  697. 3 IMPORT OLD FORMAT SAS GEOGRAPHIC FILE                                         
  698. 4 IMPORT A DLG-3 OPTIONAL FORMAT GEOGRAPHIC FILE                                
  699. 5 IMPORT A GINA FORMAT GEOGRAPHIC FILE                                          
  700. 6 IMPORT A TIGER FORMAT GEOGRAPHIC FILE                                         
  701. 7 IMPORT A DIME FORMAT GEOGRAPHIC FILE                                          
  702. 8 IMPORT A DXF FORMAT GEOGRAPHIC FILE                                           
  703. 9 IMPORT AUSLIG SEGMENTS FORMAT CENSUS BOUNDARY FILE                            
  704.                                                                                 
  705. This enables geographic data to be read in in a variety of "standard" formats.  
  706.                                                                                 
  707. The test data is in the OzGIS standard format so choose                         
  708. IMPORT A STANDARD FORMAT GEOGRAPHIC FILE                                        
  709.                                                                                 
  710. A  data input window now appears for you to specify a file name. You type in    
  711. what you want and then type enter:                                              
  712.                                                                                 
  713. give the input data file as OZ-G                                                
  714. give the output geographic file as OZ                                           
  715.                                                                                 
  716. The data file will be processed, and a standard geographic file created.        
  717.                                                                                 
  718. The trace message at the bottom of the screen describes what is going on.       
  719.                                                                                 
  720.                                                                                 
  721.                                                                                 
  722. Now enter the attribute data:                                                   
  723. -----------------------------                                                   
  724.                                                                                 
  725. select the option to IMPORT ATTRIBUTE FILES                                     
  726.                                                                                 
  727. A new menu appears:                                                             
  728.                                                                                 
  729. 1 IMPORT A STANDARD FORMAT ATTRIBUTE FILE                                       
  730. 2 IMPORT A SPREADSHEET WK1 FORMAT FILE                                          
  731. 3 IMPORT A DATABASE (SIMPLE) FORMAT ATTRIBUTE FILE                              
  732. 4 IMPORT A LAMM FORMAT ATTRIBUTE FILE                                           
  733. 5 IMPORT USA CENSUS STF 1A FILES FOR TRACT/BNA                                  
  734. 6 IMPORT USA CENSUS STF 1A FILES FOR BLOCK GROUPS                               
  735. 7 IMPORT ATLAS DATA FILES                                                       
  736.                                                                                 
  737. The data are in standard form so:                                               
  738.                                                                                 
  739. Select IMPORT A STANDARD FORMAT ATTRIBUTE FILE                                  
  740.                                                                                 
  741. give the input data file as OZ-A                                                
  742. give the output attribute file as OZ                                            
  743.                                                                                 
  744. 3. The data files are now entered so -                                          
  745.                                                                                 
  746. If you use the Files Manager to look in the directory \ozdemo you will find     
  747. that there are two new files there:                                             
  748.  
  749.                                                                       15
  750.                                                                                 
  751.                                                                                 
  752. OZ.ATT is the attribute file and                                                
  753. OZ.GEO is the geographic file.                                                  
  754.                                                                                 
  755. You (almost) never give a full file name within OzGIS - the system appends      
  756. a file extension to the name according to the file type.                        
  757.                                                                                 
  758.  
  759.   3. 3 Demonstration Files                               
  760.        -------------------
  761.  
  762. The OzGIS system is supplied with a complete set of sample external             
  763. data files so that the user can become familiar with the system.  These         
  764. files can be inspected to clarify the file formats.                             
  765.                                                                                 
  766. The files are usually in the directory \OZDEMO and have names DEM*.*            
  767.  
  768.   3. 4 Example geographic and attribute data             
  769.        -------------------------------------
  770.  
  771. Generally there will be two data files for each map; a file that describes the  
  772. map boundaries and another for attribute data. The example files are:           
  773.                                                                                 
  774. 1. Far East Asia                                                                
  775.                                                                                 
  776. Attribute file - FEA-A                                                          
  777. Geographic file- FEA-G                                                          
  778.                                                                                 
  779.                                                                                 
  780. 2. Lowe electorate (Sydney)                                                     
  781.                                                                                 
  782. Attribute files- LOWE-A1 and LOWE-A2                                            
  783. Geographic files- LOWE-G (zones), LOWE-S1, LOWE-S2 (sites)                      
  784.                                                                                 
  785. These files are already entered (supplied with the system).                     
  786.                                                                                 
  787. 3. Australia                                                                    
  788.                                                                                 
  789. Attribute file - OZ-A                                                           
  790. Geographic file- OZ-G                                                           
  791.                                                                                 
  792. These files have already been input in the demonstration chapter.               
  793.                                                                                 
  794. 4. Washington DC Census Tract/BNA and TIGER lines                               
  795.                                                                                 
  796. These have been entered off CD-ROM files and preprocessed ready for display.    
  797.                                                                                 
  798. attribute file WASHTRACT                                                        
  799. Geographic zones file WASHTRACT                                                 
  800. Geographic lines file WASHROADS                                                 
  801. Geographic lines file WASHRAIL                                                  
  802.                                                                                 
  803. 5. Africa in Atlas format                                                       
  804.                                                                                 
  805. Geographic data files AFRICA.DAT                                                
  806.                                                                                 
  807. 6. Hawaii in DLG-3 optional format                                              
  808.  
  809.                                                                       16
  810.                                                                                 
  811. These came off a USGS CD-ROM                                                    
  812.                                                                                 
  813. HAWDLGWB.DAT Water boundaries (islands)                                         
  814. HAWDLGAB.DAT administration boundaries                                          
  815. HAWDLGST.DAT streams                                                            
  816. HAWDLGRD.DAT roads                                                              
  817.                                                                                 
  818. 7. DXF example files from VIC Roads. These have extensions *.DXF                
  819.                                                                                 
  820. 8. London Cholera                                                               
  821.                                                                                 
  822. Files are supplied for the classic mapping example where the mapping of the     
  823. houses where people died during the 1854 outbreak of Cholera onto a street map  
  824. of inner London, and then mapping the water supply, showed clustering about one 
  825. pump. The data files are in IDRISI format.                                      
  826. STREET.* London streets (lines)                                                 
  827. DEATH.*  Where fatalities occurred (points)                                     
  828. PUMP.*   Locations of water outlets                                             
  829.                                                                                 
  830. 9. ACT / Canberra                                                               
  831.                                                                                 
  832. Test data are provided for Canberra.                                            
  833.                                                                                 
  834. CANBP1.DAT and CANBP2.DAT are shopping centre locations                         
  835. ACTSHOP.DAT is sample attribute data for shopping centres                       
  836.                                                                                 
  837. L81SEG.DAT are 1981 Census boundaries for the ACT. This file is Crown Copyright 
  838. of AUSLIG, Australia's national mapping agency. It is supplied with the         
  839. permission of the General Manager, Australian Surveying and Land Information    
  840. Group, Dept Arts and Admin. Services, Canberra, ACT.                            
  841.                                                                                 
  842. L81ATTR.DAT is sample attribute data for the above (mangled Census dervived     
  843. data). L81.ATT is the enetered data.                                            
  844.                                                                                 
  845. ACTSUBURB.DAT is a points file of names of Canberra suburbs (LGAs).             
  846. ACTSUBUR.GEO is the enetered geographic file.                                   
  847.                                                                                 
  848. ACTMT.DAT is point data for ACT mountains.                                      
  849.                                                                                 
  850. Two files for site catchment examples are:                                      
  851. CATCH.CAT example site catchments and                                           
  852. CANBL81.GEO a geographic file for Canberra city.                                
  853.                                                                                 
  854. 10. D.C.W.                                                                      
  855.                                                                                 
  856. The Digital Chart of the World is an extensive vector database supplied         
  857. on 4 CD-ROMs at mimimal cost.                                                   
  858.                                                                                 
  859. The test data are from the low resolution browse database. The files are:       
  860.                                                                                 
  861. DCWLAND - World polygons (PO lines data param file modifed to give lines        
  862. 131, 132 feature code 99 - these close asia at the edges)                       
  863.                                                                                 
  864. DCWPOTXT - polititical names                                                    
  865.                                                                                 
  866. DCWPPPNT - pop places locations                                                 
  867.                                                                                 
  868.  
  869.                                                                       17
  870. DCWPPTXT - pop places names                                                     
  871.                                                                                 
  872. DCWDNLN - drainage lines                                                        
  873.                                                                                 
  874.                                                                                 
  875. Feature codes:                                                                  
  876.                                                                                 
  877. DCWLAND - none                                                                  
  878.                                                                                 
  879. DCWPOTXT - 1=land place names, 2=ocean place names                              
  880.            6=mountains, 8=islands, 10=deserts                                   
  881.                                                                                 
  882. DCWPPPNT - none                                                                 
  883.                                                                                 
  884. DCWPPTXT - none                                                                 
  885.                                                                                 
  886. DCWDNLN - 1 = rivers, 2=inland shorelines                                       
  887.                                                                                 
  888.                                                                                 
  889.  
  890.   3. 5 Example device files                              
  891.        --------------------
  892.  
  893. The characteristics of devices and the appearance of maps are given by display  
  894. files. Data files are provided for all the device files supplied with the       
  895. system. There are two sets for 16 and 256 colour video boards, and also sets    
  896. for hatching and colour simulation on plotters etc.                             
  897.                                                                                 
  898. Files are already entered on the system and are described in a later chapter.   
  899.  
  900.   3. 6 Marker data files                                 
  901.        -----------------
  902.  
  903. These have already been entered, and are supplied with the system. They are     
  904. circle, diamond, hbar, nabla, plus, square, triangle, vbar. (You can of course  
  905. have your own markers).                                                         
  906.                                                                                 
  907.  
  908.   3. 7 Colour names data (no longer used)                
  909.        ----------------------------------
  910.  
  911. This option has been removed as DOS limits were being exceeded.                 
  912.                                                                                 
  913. A colour names file X11-BGR.DAT is supplied and is useful for colour definition.
  914.                                                                                 
  915.  
  916.                                                                       18
  917.                     4. BASIC CHOROPLETH MAPPING EXAMPLE                  
  918.                        ================================
  919.  
  920.                                                                                 
  921.                                                                                 
  922. This chapter gives an introduction to the map display options.                  
  923.                                                                                 
  924.                                                                                 
  925.                                                                                 
  926.                                                                                 
  927.  
  928.   4. 1 Simple Census-type Mapping                        
  929.        --------------------------
  930.  
  931. The Simple Census Mapping Icon can be clicked for simple choropleth mapping.    
  932.                                                                                 
  933. This provides two or three menus and about twenty menu options while the full   
  934. mapping menu tree has about a hundred menus and a thousand menu options.        
  935.                                                                                 
  936. This option is suitable for simple mapping of Census type data and is           
  937. recommended for use while learning to use the system.                           
  938.                                                                                 
  939. When you want to use more advanced mapping use the full OzGIS version.          
  940.                                                                                 
  941.  
  942.   4. 2 Example Choropleth Map                            
  943.        ----------------------
  944.  
  945. The most common application is the display of data such as Census data as       
  946. coloured polygons. Here the processes necessary to display such data are        
  947. described.                                                                      
  948.                                                                                 
  949. Census data enables you to display maps that show where people live who         
  950. are of different nationalities, ages, income groups etc. These maps are         
  951. used for applications such as retail marketing to find where potential          
  952. customers are located or for government planning to decide where to build       
  953. facilities like schools.                                                        
  954.                                                                                 
  955. You will probably have a file of attribute data (such as population Census      
  956. data) and a file of digitised boundary data for mapping (e.g. TIGER):           
  957.                                                                                 
  958. We will look at the data data for Australia. There are two data files:          
  959.                                                                                 
  960. OZ-G.DAT are the digitised boundary data, (Australian Statistical Divisions)    
  961. OZ-A.DAT are the attribute data                                                 
  962.                                                                                 
  963. An example of entering these data files was given in the last chapter.          
  964.                                                                                 
  965. Both the attribute file and geographic file are called OZ. Different types of   
  966. files can have the same name.                                                   
  967.                                                                                 
  968.                                                                                 
  969. Execute the Simple Census Mapping icon for the OzDemo directory.                
  970.                                                                                 
  971. Choose the option to "DISPLAY A NEW MAP" from the Mapping pulldown menu         
  972.                                                                                 
  973. give the attribute file name as OZ.                                             
  974.  
  975.                                                                       19
  976.                                                                                 
  977. When asked for the geographic file name input "L". A list of the available files
  978. will appear. Either double click on OZ.GEO or click QUIT and then give the file 
  979. name as OZ (not OZ.GEO!).                                                       
  980.                                                                                 
  981. The data are now processed, the map is displayed, and the next menu appears.    
  982.                                                                                 
  983. You now have a default map with legend and distribution diagram. The legend     
  984. has the numbers of zones in each class on the left and the class value ranges   
  985. to the right of the coloured boxes.                                             
  986.                                                                                 
  987. The new menu is:                                                                
  988.                                                                                 
  989. TUTORIALS & SYSTEM INFORMATION                                                  
  990. ADD TEXT TO MAP                                                                 
  991. DISPLAY THE NEXT SEQUENTIAL ATTRIBUTE                                           
  992. SELECT AN ATTRIBUTE FOR DISPLAY BY NUMBER                                       
  993. CHANGE THE NUMBER OF CLASSES                                                    
  994. CHANGE THE QUANTISATION METHOD                                                  
  995. DISPLAY ATTRIBUTE STATISTICS                                                    
  996. LIST ZONES SELECTED WITH BOX-CURSOR                                             
  997. SAVE DISPLAY FOR HARDCOPY MAP GENERATION WITH OzMap                             
  998. DISPLAY A NEW MAP                                                               
  999.                                                                                 
  1000.                                                                                 
  1001. Now investigate some of the options:                                            
  1002.                                                                                 
  1003. Choose the option to DISPLAY THE NEXT SEQUENTIAL ATTRIBUTE                      
  1004.                                                                                 
  1005.                                                                                 
  1006. Select the option to SELECT AN ATTRIBUTE FOR DISPLAY BY NUMBER.                 
  1007. Type 0 to get a list.                                                           
  1008.                                                                                 
  1009. A list of the attributes available will appear in a window.                     
  1010.                                                                                 
  1011. Click Quit to return to the question. Type in a number to select an attribute.  
  1012.                                                                                 
  1013.                                                                                 
  1014.                                                                                 
  1015. Note two special entries in the Files menu that appear after a map is           
  1016. displayed:                                                                      
  1017.                                                                                 
  1018. "Draw map" will regenerate the displayed map. Usually this happens              
  1019. automatically. You can also suppress automatic rewraing from the files menu.    
  1020.                                                                                 
  1021. "Top menu" must be used from a lower level to return to the start menu.         
  1022.                                                                                 
  1023. Now investigate some of the File pulldown menu options:                         
  1024.                                                                                 
  1025. Select INTERROGATE FILES. Select GEOGRAPHIC FILES and use the file name OZ      
  1026. (the one displayed).                                                            
  1027.                                                                                 
  1028. Other options enable the user interaction to be controlled; try turning on      
  1029. partial trace (level 1) which causes a series of messages to appear at the      
  1030. bottom of the screen telling you what the system is doing, but not as many as   
  1031. level 2. The initial trace levels for all programs are set in the               
  1032. \ozgis\ozgis.ini file.                                                          
  1033.                                                                                 
  1034.  
  1035.                                                                       20
  1036. "Quit" is used to exit from the program. Dont use it yet!                       
  1037.                                                                                 
  1038. Back at the Mapping menu, select CHANGE THE NUMBER OF CLASSES.                  
  1039.                                                                                 
  1040. change the number of classes to 10.                                             
  1041.                                                                                 
  1042. Select the option to CHANGE THE QUANTISATION METHOD.                            
  1043.                                                                                 
  1044. Another menu will appear.                                                       
  1045.                                                                                 
  1046. QUANTISATION TUTORIAL                                                           
  1047. USE EQUAL VALUE INTERVALS                                                       
  1048. USE QUANTILES                                                                   
  1049. USE SELECTED CLASS INTERVALS                                                    
  1050. USE SELECTED NUMBER OF ZONES PER CLASS                                          
  1051. USE REFINED EQUAL VALUE INTERVALS                                               
  1052. USE PSEUDO CONTINUOUS-COLOUR                                                    
  1053. USE THE MEAN AND STD DEVIATION METHOD                                           
  1054. USE THE NESTED MEANS METHOD                                                     
  1055. USE THE NATURAL BREAKS METHOD                                                   
  1056. USE SELECTED PERCENTILES                                                        
  1057. USE SELECTED CLASS RANGE PERCENTILES                                            
  1058. USE INTERACTIVE SELECTION OF CLASS INTERVAL,                                    
  1059. USE EQUIVALENCE CLASSES                                                         
  1060. USE CURRENT CLASS RANGES                                                        
  1061. USE CURRENT NO PER CLASS                                                        
  1062.                                                                                 
  1063. These options are very important as they enable the map to show the data in a   
  1064. way relevant to the purpose of the analysis.                                    
  1065.                                                                                 
  1066. For example, to select deciles:                                                 
  1067.                                                                                 
  1068. Choose USE QUANTILES and set the number of classes to 10. The legend            
  1069. will now describe the 10 colours in the map.                                    
  1070.                                                                                 
  1071.                                                                                 
  1072. Choose the option to DISPLAY ATTRIBUTE STATISTICS.                              
  1073.                                                                                 
  1074. Basic statistics will be displayed in a window for the displayed map.           
  1075.                                                                                 
  1076. Click "Quit" to remove the window.                                              
  1077.                                                                                 
  1078. Choose the option to LIST ZONES SELECTED WITH BOX-CURSOR.                       
  1079. This will enable the current values for the displayed zones to be listed.       
  1080.                                                                                 
  1081. A cursor will appear on the screen which indicates the bottom left position.    
  1082. Place it using either the arrows (type Enter to select the position) or the     
  1083. mouse (left button to select). A box cursor then appears to select the other    
  1084. corner. All zones are listed that have a minimum bounding rectangle (MBR)       
  1085. that intersects the selected window.                                            
  1086.                                                                                 
  1087.  
  1088.   4. 3 Summary                                           
  1089.        -------
  1090.  
  1091. You now have seen simple examples of the processes to produce maps.             
  1092.                                                                                 
  1093. 1. you obtain your data as files in a standard format.                          
  1094.  
  1095.                                                                       21
  1096.                                                                                 
  1097. 2. you usually set up a directory on the same disk as \OZGIS and put the data   
  1098. files there.                                                                    
  1099.                                                                                 
  1100. 3. Use IMPORT DATA FILES from the top menu to read in the data files.           
  1101.                                                                                 
  1102. 4. Use Simple Census-type Mapping or the Full OzGIS system (INTERACTIVE         
  1103. ANALYSIS menu item) to display.                                                 
  1104.                                                                                 
  1105. But ......... this is very simple                                               
  1106.                                                                                 
  1107. You may want to do some data preparation before mapping.                        
  1108.                                                                                 
  1109. You may have geographic data as line segments and need to form the polygons.    
  1110.                                                                                 
  1111. You may want to display other types of maps or diagrams.                        
  1112.                                                                                 
  1113. You may want to output prepared maps to a printer, plotter or file.             
  1114.                                                                                 
  1115. and so on.                                                                      
  1116.                                                                                 
  1117.  
  1118.                                                                       22
  1119.                     5. INTERACTIVE USER INTERFACE TO OzGIS               
  1120.                        ===================================
  1121.  
  1122.                                                                                 
  1123.                                                                                 
  1124. The user controls OzGIS by responding to menus, questions and                   
  1125. commands presented on the PC screen.                                            
  1126.                                                                                 
  1127. This chapter describes these forms of user communication.                       
  1128.                                                                                 
  1129.                                                                                 
  1130.                                                                                 
  1131.  
  1132.   5. 1 OzGIS Menus                                       
  1133.        -----------
  1134.  
  1135. You choose processing and display options from pulldown menus or from           
  1136. a pop-up menu that appears in the OzGIS window.                                 
  1137.                                                                                 
  1138. The menu changes depending on what you are doing.                               
  1139.                                                                                 
  1140.       Menus are presented in the format below.  The MENU HEADER                 
  1141. contains the previous menu item selected, or in the case of a main menu         
  1142. the system title.                                                               
  1143.                                                                                 
  1144.                [MENU HEADER]                                                    
  1145.                [Previous Menu                                                   
  1146.                [menu item 1]                                                    
  1147.                [menu item 2]                                                    
  1148.                          :                                                      
  1149.                          :                                                      
  1150.                          :                                                      
  1151.                [menu item n]                                                    
  1152.                                                                                 
  1153. For example, a menu could be:                                                   
  1154.                                                                                 
  1155. Previous Menu                                                                   
  1156. TUTORIALS & SYSTEM INFORMATION                                                  
  1157. IMPORT DATA FILES                                                               
  1158. PREPARE DATA FOR DISPLAY                                                        
  1159. INTERACTIVE DISPLAY AND ANALYSIS OF MAP DATA                                    
  1160. BUILD TOPOLOGY FROM LINE SEGMENTS                                               
  1161. INTERACTIVELY DEFINE TERRITORIES                                                
  1162. MAP PROJECTIONS                                                                 
  1163. SPATIAL OPERATIONS ON GEOGRAPHIC DATA                                           
  1164.                                                                                 
  1165. Menu items are selected either by click on an item or holding the left mouse    
  1166. button down and moving the cursor to the required selection.                    
  1167.                                                                                 
  1168. You will find that some there are lots of menus, and it is  difficult at first  
  1169. to know where you are in the menu "tree". To make it more  confusing the menus  
  1170. are dynamic e.g. adding something to a map can cause a new  menu item to appear 
  1171. that allows you to delete that item.                                            
  1172.                                                                                 
  1173. The general approach is: if the current menu does not have the option you want  
  1174. select from the pulldown menu. You will find that you cannot return to a        
  1175. previous menu at some "main" menus. This prevents loss of map data at various   
  1176.  
  1177.                                                                       23
  1178. stages; Select "Top menu" from the Files menu.                                  
  1179.                                                                                 
  1180.                                                                                 
  1181.                                                                                 
  1182. Main menus appear as pulldown menus.                                            
  1183.                                                                                 
  1184.                                                                                 
  1185.  
  1186.   5. 2 Question Dialog Boxes                             
  1187.        ---------------------
  1188.  
  1189.       Questions are asked by OzGIS when data are required for an                
  1190. operation.  The user must supply the data by entering appropriate responses     
  1191. in a dialog box.                                                                
  1192.                                                                                 
  1193.       The format of questions consists of the question, a possible range of     
  1194. values in brackets (if appropriate), a default value in parentheses (if         
  1195. appropriate) and terminated by a question mark.  The range of values and        
  1196. default values indicate the form of the expected answer.  An example is:        
  1197.                                                                                 
  1198.       -  request to replace an existing file:                                   
  1199.          DO YOU WANT TO REPLACE THE FILE [Y,N]?                                 
  1200.                                                                                 
  1201.                                                                                 
  1202.          The user must respond by clicking on YES or NO.                        
  1203.                                                                                 
  1204.       The following single character responses provide assistance when          
  1205. answering some questions:                                                       
  1206.                                                                                 
  1207.       "H":  presents a "help" or informative message about the required         
  1208.             response.                                                           
  1209.                                                                                 
  1210.       "E":  returns to the previous menu without further action.                
  1211.                                                                                 
  1212.                                                                                 
  1213.       Errors in responses are trapped and result in help messages being         
  1214. printed.  The user is asked the question again.                                 
  1215.  
  1216.   5. 3 Command Dialog Boxes                              
  1217.        --------------------
  1218.  
  1219.       Commands are issued by OzGIS when an operation has to be                  
  1220. performed by the user.  When the operation is completed, control returns to     
  1221. the appropriate menu.                                                           
  1222.                                                                                 
  1223.       The format for commands consists of a directive, a possible range of      
  1224. values in brackets (if appropriate), a default value in the input field (if     
  1225. appropriate), terminated by a colon.  Examples are:                             
  1226.                                                                                 
  1227.       -  to provide the number of classes:                                      
  1228.          TYPE NUMBER OF CLASSES [1-6] (4):                                      
  1229.                                                                                 
  1230.          The number of classes must be in the range 1 to 6, and if              
  1231.          the user simply presses the "Enter" key a default value of 4 will      
  1232.          be selected.                                                           
  1233.                                                                                 
  1234.       -  request for the name of a file:                                        
  1235.          FILENAME (TEST):                                                       
  1236.  
  1237.                                                                       24
  1238.                                                                                 
  1239.          The filename must be entered as a character string, or the             
  1240.          "Enter" key pressed to accept the default filename "TEST".             
  1241.                                                                                 
  1242.       The following single character responses provide assistance when          
  1243. responding to commands:                                                         
  1244.                                                                                 
  1245.       "L":  provides a list of data items that can be selected.                 
  1246.                                                                                 
  1247.             e.g. for FILENAME, a list of available files will be printed.       
  1248.             e.g. for ATTRIBUTE DESCRIPTION, the names of attributes on the file 
  1249.             will be listed.                                                     
  1250.                                                                                 
  1251.       "H":  presents a help or informative message about the desired            
  1252.             operation.                                                          
  1253.                                                                                 
  1254.                                                                                 
  1255.       "E":  returns to the previous menu without further action.                
  1256.                                                                                 
  1257. Errors in responses are trapped and cause a help message to be printed and      
  1258. the command to be repeated.                                                     
  1259.  
  1260.   5. 4 Graphic interaction                               
  1261.        -------------------
  1262.  
  1263.       Graphic interaction in OzGIS involves the use of the mouse to control     
  1264. the cursors on the monitor. Use the left mouse button to select.                
  1265.                                                                                 
  1266.       The user is directed to operate the mouse etc by the appearance of the    
  1267. cursor on the monitor and by an appropriate command on the screen.  The         
  1268. extent of the command depends on the current level of user communication        
  1269. (see "User Interface" option).                                                  
  1270.                                                                                 
  1271. There are several types of cursors:                                             
  1272.                                                                                 
  1273. . a pointer to select a position of object                                      
  1274. . a box to select a region. The bottom left corner is selected and then the     
  1275.    other.                                                                       
  1276. . a fixed size box to select text positions                                     
  1277. . a cursor for selecting a circle (centre first followed by circle)             
  1278.  
  1279.   5. 5  Print file                                       
  1280.        -----------
  1281.  
  1282. Every program generates printout on a file OZGIS.OUT.                           
  1283.                                                                                 
  1284. This includes:                                                                  
  1285.                                                                                 
  1286. Reports                                                                         
  1287. Error messages                                                                  
  1288. Debug output                                                                    
  1289.                                                                                 
  1290. Every time a map is interactively queried the list of map items retrieved is    
  1291. output to a file QUERY.OUT                                                      
  1292.                                                                                 
  1293. The windows version also outputs error messages to a file WINDOWS.OUT           
  1294.  
  1295.                                                                       25
  1296.                     6. OzGIS FILES                                       
  1297.                        ===========
  1298.  
  1299.                                                                                 
  1300.                                                                                 
  1301. This Chapter describes the various files which are processed by                 
  1302. OzGIS.  Some of the files can be entered into OzGIS as data, and                
  1303. the external formats for these files are given later.  All of the               
  1304. files have internal formats, which are generated as part of the user            
  1305. interaction.                                                                    
  1306.                                                                                 
  1307.                                                                                 
  1308.                                                                                 
  1309.  
  1310.   6. 1 File Origins                                      
  1311.        ------------
  1312.  
  1313.                                                                                 
  1314. The following kinds of files must be entered into OzGIS:                        
  1315.                                                                                 
  1316.       -  data files                                                             
  1317.       -  marker files                                                           
  1318.       -  device files                                                           
  1319.       -  presentation files                                                     
  1320. Data files usually come from Census bureaux, map data suppliers or your         
  1321. corporate database.                                                             
  1322.                                                                                 
  1323. External data files must be entered into OzGIS explicitly.  This                
  1324. operation permits OzGIS to generate internal representations of the             
  1325. data for efficient processing and to check the data.                            
  1326.                                                                                 
  1327.                                                                                 
  1328. Certain files must be prepared explicitly within OzGIS under user               
  1329. direction.  These files are:                                                    
  1330.                                                                                 
  1331.       -  saved display files                                                    
  1332.       -  catchment files (OzCatch)                                              
  1333.       -  time lapse files  (no longer available)                                
  1334.       -  palette files (no longer available)                                    
  1335.       -  hardcopy files  (OzMAP)                                                
  1336.                                                                                 
  1337. Some files can be prepared externally or internally.  These are:                
  1338.                                                                                 
  1339.       -  geographic files                                                       
  1340.       -  name files                                                             
  1341.       -  combine files                                                          
  1342.       -  colour names file  (no longer available)                               
  1343.                                                                                 
  1344. Some files are usually prepared with a word-processor.  These are:              
  1345.                                                                                 
  1346.       -  presentation files                                                     
  1347.       -  parameter files                                                        
  1348.                                                                                 
  1349.  
  1350.                                                                       26
  1351.  
  1352.   6. 2 File types                                        
  1353.        ----------
  1354.  
  1355.                                                                                 
  1356. The file types will become obvious with use of the system.                      
  1357.                                                                                 
  1358. There are many different types of files used:                                   
  1359.                                                                                 
  1360. (a)  Geographic Map files describe geographic (map) data in terms of            
  1361.      graphic elements - zones, polygons, line networks, line segments and       
  1362.      points.  The data can be drawn in geographic regions, or overlayed on      
  1363.      displayed maps.                                                            
  1364.                                                                                 
  1365.      The files are generated by digitising base maps.  This is a                
  1366.      time-consuming soul-destroying task.  Fortunately digitised map data       
  1367.      are available for many commonly used maps e.g. states, postcodes,Census    
  1368.      districts.  Where special zones are required, they can often be            
  1369.      defined in terms of Census districts and the map boundaries obtained       
  1370.      by amalgamating the digitised Census boundary data (dropping internal      
  1371.      lines).  This has the additional advantage that Census data can also       
  1372.      be extracted for the amalgamated zones and used for comparisons with       
  1373.      the user's own attribute data.                                             
  1374.                                                                                 
  1375. (b)  Attribute files contain the values of attributes (variates,                
  1376.      statistics, variables) referenced to zone, line or site names.  Each       
  1377.      file may contain a number of attributes for a fixed set of names.          
  1378.                                                                                 
  1379.      Attribute files are processed to assign a class number to zones            
  1380.      (colour) or lines (line type) or sites (symbol sizes) in a displayed       
  1381.      map.                                                                       
  1382.                                                                                 
  1383.      Attribute data files are usually generated via a standard database or      
  1384.      modelling system or by a user's own programs.                              
  1385.                                                                                 
  1386. (c)  Names files contain a list of zones, lines or sites that defines a         
  1387.      geographic region of interest.  The files may be used to subset            
  1388.      geographic data.  It may also be used to restrict the set of               
  1389.      attributes to be quantised for a map, or alternatively the set of          
  1390.      zones lines or sites to be displayed on a map.                             
  1391.                                                                                 
  1392. (d)  Combine files - define new items in terms of zones.  A file may define     
  1393.      new zones in terms of amalgamated base map zones or the influence of       
  1394.      surrounding zones on a site.                                               
  1395.                                                                                 
  1396.      The file contains a list of names of the new zones or sites defined.       
  1397.      If just one new name is given it is a renaming, if more than one an        
  1398.      amalgamation.                                                              
  1399.                                                                                 
  1400.      For each new item there is a list of the base map zones it is defined      
  1401.      by and a list of weights.                                                  
  1402.      New zones are defined by complete base map zones so the weights have       
  1403.      value 1.0 e.g. Sales Territories. Site Catchments are used to retrieve     
  1404.      data from underlying map zones so the weights give the proportions of      
  1405.      the zones (range 0-1).                                                     
  1406.                                                                                 
  1407. (e)  Marker files - define simple shapes as single polygons for display as      
  1408.  
  1409.                                                                       27
  1410.      markers.                                                                   
  1411.                                                                                 
  1412.      The data are simply the (X,Y) points that are used to draw the             
  1413.      polygons.  The points are in the range -0.5 to +0.5 so the polygon can     
  1414.      be easily scaled and displayed centred at a location.                      
  1415.                                                                                 
  1416. (f)  Saved Display files contain the data to regenerate a complete display.     
  1417.      These files should be stored by the user upon completion of a display      
  1418.      for later recall.  Subsequent manipulation of the display is possible      
  1419.      after recall.                                                              
  1420.                                                                                 
  1421.      Saved display files are the common level of storage and retrieval of       
  1422.      maps.  A user may build up a set of commonly displayed maps with all       
  1423.      the desired features that can be displayed and modified rapidly.           
  1424.      Saved display files are also used for presentations.                       
  1425.                                                                                 
  1426. (g)  Presentation files contain references to a number of Saved Display         
  1427.      files.  The files are used to present a set of displays quickly,           
  1428.      usually for demonstration purposes.                                        
  1429.                                                                                 
  1430. (h)  Time Lapse files contain a set of attributes for display as a time         
  1431.      lapse sequence.  All attributes are quantized in the same way by           
  1432.      OzGIS and must exist on the same file. e.g. data that has been             
  1433.      collected regularly, say weekly, can be displayed as a 'movie' to see      
  1434.      if there are any time-based spatial features.                              
  1435.      The format of the files is internal to OzGIS.  These facilities            
  1436.      are only available for colour display systems with large numbers of        
  1437.      colours.                                                                   
  1438.      (no longer available as PC hardware is inadequate)                         
  1439.                                                                                 
  1440. (i)  Device files - define the graphic devices and their capabilities.          
  1441.      Each device is a GKS workstation.  Several files may exist for each        
  1442.      device giving different values for the graphic primitive attributes        
  1443.      (line type, text, colours, patterns etc.).  In particular, each file       
  1444.      contains sets of fill colours or patterns for single and bivariate         
  1445.      maps.                                                                      
  1446.                                                                                 
  1447.                                                                                 
  1448. (j)  Palette files contain a set of colours which can be selected for           
  1449.      display.  The set of colours is displayed as a palette during the          
  1450.      colour selection process.  Colour palette files can be modified and        
  1451.      generated by user interaction, but their format is internal to             
  1452.      OzGIS.                                                                     
  1453.      (no longer available)                                                      
  1454.                                                                                 
  1455. (k)  Colour Names files contain a set of colour names and associated blue,      
  1456.      green and red (B,G,R) values for the display system.  The files enable     
  1457.      users to specify colours by typing a name (e.g. LIGHT RED) on the          
  1458.      keyboard.  Colour names files can be entered as external data files or     
  1459.      can be prepared by entering names and indicating the corresponding         
  1460.      colours.                                                                   
  1461.      (no longer available)                                                      
  1462.                                                                                 
  1463. (l)  Hardcopy files - contain information to enable maps to be reproduced       
  1464.      off-line on other devices (with the vector program)                        
  1465.                                                                                 
  1466. (m)  Parameter files - contain data for special operations e.g. entry of        
  1467.      US Census STF1A files, address matching. These files often come from       
  1468.  
  1469.                                                                       28
  1470.      other systems.                                                             
  1471.                                                                                 
  1472. (n)  Text Attribute files contain lines of any text and are used to provide     
  1473.      additional information about map items e.g. a geographic file defining     
  1474.      the locations of shopping centres may have a text attribute file that      
  1475.      gives the names, addresses, total floor area and number of customers per   
  1476.      month.                                                                     
  1477.                                                                                 
  1478. (o)  Catchment files - contain definitions of sites, boundaries of              
  1479.      catchments around sites, and catchment weights.  Catchment files are       
  1480.      interactively generated with reference to a base map.                      
  1481.                                                                                 
  1482. (p)  Digitising files - contain data generated while digitising a map           
  1483.                                                                                 
  1484.  
  1485.   6. 3 File Names                                        
  1486.        ----------
  1487.  
  1488. OzGIS distinguishes the various types of files, so you can give the same name   
  1489. to files of different types e.g. you may have a geographic file called AFRICA   
  1490. and also a (probably related) attribute file called AFRICA and you may save the 
  1491. map using these files in a saved display file also called AFRICA.               
  1492.                                                                                 
  1493. The system differentiates between files by adding an extension to the given     
  1494. file name e.g. the AFRICA attribute file would actually be AFRICA.ATT           
  1495.                                                                                 
  1496. You generally dont have to worry too much about extensions, but they are:       
  1497.                                                                                 
  1498. .ATT  attribute files                                                           
  1499. .CMB  combine files                                                             
  1500. .DAT  data files                                                                
  1501. .DEV  device files                                                              
  1502. .GEO  geographic files                                                          
  1503. .HRD  hardcopy files                                                            
  1504. .MRK  marker files                                                              
  1505. .PRM  parameter files                                                           
  1506. .PRS  presentation files                                                        
  1507. .SAV  saved display files                                                       
  1508. .SCR  screen dump for saved display files                                       
  1509. .TMP  temporary scratch files                                                   
  1510. .DIG  digitiser files                                                           
  1511.                                                                                 
  1512. The system just adds the extension on the end of the file name you give, so you 
  1513. can put any path on the front e.g. an input attribute file could be given as    
  1514. D:\TEST\AFRICA which the system translates to D:\TEST\AFRICA.ATT                
  1515.                                                                                 
  1516. There is actually two exceptions - because data files are often obtained from   
  1517. elsewhere and you may want to input them directly off floppy disk or CD-ROM     
  1518. (where files cannot be renamed) you can give a full file name when entering     
  1519. external data files. Similarly, parameter files often come from other           
  1520. systems with naming conventions, so a full file name can be given.              
  1521. When you ask for a file listing the standard dialog box function includes the   
  1522. file extensions.                                                                
  1523.  
  1524.                                                                       29
  1525.  
  1526.   6. 4 Directories                                       
  1527.        -----------
  1528.  
  1529. There are two types of files, system and user.                                  
  1530.                                                                                 
  1531. System files are held in the \OZGIS directory and can be specified as input     
  1532. files by putting '*' on the front of the file name.                             
  1533.                                                                                 
  1534. For example, giving a device file as *C256SV3 is the same as giving it          
  1535. as \OZGIS\C256SV3                                                               
  1536.                                                                                 
  1537.                                                                                 
  1538. User files can be in any directory but it                                       
  1539.                                                                                 
  1540. MUST BE ON THE SAME DISK AS \OZGIS !!!                                          
  1541.                                                                                 
  1542. Hence the \OZDEMO directory is set up on the same drive as \OZGIS               
  1543.                                                                                 
  1544. The usual procedure when starting a mapping project is to set up a new          
  1545. directory, copy all data files to that directory and then use all the           
  1546. OzGIS programs in that directory.                                               
  1547. Setting the directory is done when you define the program to WINDOWS.           
  1548.                                                                                 
  1549.                                                                                 
  1550.  
  1551.                                                                       30
  1552.                     7. DEVICE FILES                                      
  1553.                        ============
  1554.  
  1555.                                                                                 
  1556.                                                                                 
  1557. Device files control the appearance of maps:                                    
  1558.                                                                                 
  1559.      . polygon colours and type of fill                                         
  1560.      . text colours, sizes and fonts                                            
  1561.      . line colours and styles                                                  
  1562.      . sequences of class colours or hatch patterns                             
  1563.      . menu and message colours                                                 
  1564.                                                                                 
  1565. Experience showed that it is better to have fixed sets of definitions rather    
  1566. than allow the user to specify the display parameters.                          
  1567.                                                                                 
  1568. Remember that the basic display definition (number of pixels, lines and colours)
  1569. was specified when configuring the system.                                      
  1570.                                                                                 
  1571. There are sets of device files available:                                       
  1572.                                                                                 
  1573.      . 256 colour sets (older 16 colour sets for DOS have been withdrawn)       
  1574.      . sets for standard maps and for bivariate maps                            
  1575.      . coloured polygon fill or hatching or colour simulation                   
  1576.                                                                                 
  1577. The supplied files have a naming system e.g.                                    
  1578.                                                                                 
  1579.       *C256SV5  is a 256 colour single variate device file                      
  1580.       *B256BV2 is a 256 colour bivariate device file                            
  1581.                                                                                 
  1582.                                                                                 
  1583.                                                                                 
  1584. The best way to understand device files is to look at the contents, for         
  1585. example:                                                                        
  1586.                                                                                 
  1587. Select INTERACTIVE DISPLAY AND ANALYSIS from the top menu.                      
  1588.                                                                                 
  1589. Select the option to CHANGE DEVICE FILE                                         
  1590.                                                                                 
  1591. Type "L" to get a list of the device files that are available.                  
  1592.                                                                                 
  1593. First look at a 16 colour device file                                           
  1594. --------------------------------------                                          
  1595.                                                                                 
  1596. Give the file as *WINSV                                                         
  1597.                                                                                 
  1598. Select the option to DISPLAY DEVICE CHARACTERISTICS                             
  1599.                                                                                 
  1600. You will now get a display that shows the text types (sizes and colours),       
  1601. lines (types and colours) and the various polygon fills as rectangles.          
  1602.                                                                                 
  1603. Of particular interest are the class colours. The bottom set is a sequence of   
  1604. 121 colours which is designed to give the appearance of increasing attribute    
  1605. values. In this device file for a 16 colour board the colours are in blocks,    
  1606. but for 256 colour boards all the colours will be different (and can be used    
  1607. for "continuous colour" maps). The set of colours above are a 7 x 7 set for     
  1608. bivariate maps. They actually map onto the same set as for single variate maps, 
  1609.  
  1610.                                                                       31
  1611. so if bivariate maps are to be produced different device files should be used.  
  1612.                                                                                 
  1613. Now choose a bivariate device file *WINBV and display that.                     
  1614.                                                                                 
  1615. The bivariate sequence will show a progression of colour in each dimension      
  1616. (with some missing).                                                            
  1617.                                                                                 
  1618. There were a set of files for 16 colour displays, for the DOS version of OzGIS  
  1619. but under WINDOWS where colours are simulated it makes more sense to use        
  1620. the set of 256 colour device files. The exceptions are the WINSV and WINBV      
  1621. files which use the hardware colours used by the WINDOWS system.                
  1622.                                                                                 
  1623. Next 256 colour files                                                           
  1624. ---------------------                                                           
  1625.                                                                                 
  1626. There is a set of files *C256SV1 to *C256SV9 and *C256BV1 to *C256BV3 for 256   
  1627. colour boards. Now display one of these. The colour sequence will now be the    
  1628. complete 121 colours. If you have a standard 16 colour VGA board the colours    
  1629. will be approximated (dithered) by the WINDOWS graphics software.               
  1630.                                                                                 
  1631. Super VGA boards can display the full colour set, but as it does not appear to  
  1632. be possible to replace the default set of colours in the hardware colour table, 
  1633. 16 colour device files can not display the given set of colours.                
  1634.                                                                                 
  1635. Next hardcopy device files                                                      
  1636. -------------------                                                             
  1637.                                                                                 
  1638. Other device files are also available, primarily for display on printers and    
  1639. plotters, but these can also be used on the display; try them!                  
  1640.                                                                                 
  1641. *HATCHSV1 is for display of hatched single variate maps and *HATCHBV1 for       
  1642. bivariate maps.                                                                 
  1643.                                                                                 
  1644. There is also a series of files CSIMSV1 ......, CSIMBV1... that were designed   
  1645. to simulate colours sequences on plotters.                                      
  1646.                                                                                 
  1647.                                                                                 
  1648. DEFAULT.DEV default device file                                                 
  1649. -------------------------------                                                 
  1650.                                                                                 
  1651. You should now display a few of the single variate device files                 
  1652. (*C256SV?) and decide on one that you will use as the default device file.      
  1653.                                                                                 
  1654. When you have decided on the default file type exit from OzGIS and:             
  1655.                                                                                 
  1656. cd \ozgis                                                                       
  1657. copy C256SV6.DEV DEFAULT.DEV  (using the file you have chosen)                  
  1658.                                                                                 
  1659. This will overwrite the device file that was supplied as the default with the   
  1660. system. Obviously you can select a different device file for display at         
  1661. any time, and you should do so for bivariate maps.                              
  1662.                                                                                 
  1663. Colour sequences                                                                
  1664. ----------------                                                                
  1665.                                                                                 
  1666. The colour sequences are designed to provide a colour progression that can      
  1667. help interpret the pregression in values in the attribute data.                 
  1668.                                                                                 
  1669.  
  1670.                                                                       32
  1671. The sequences were generated by sampling at equal intervals along curves        
  1672. through uniform colour space, and then transforming the values using a          
  1673. model for the colour response of colour / TV monitors.                          
  1674.  
  1675.                                                                       33
  1676.                     8. OzGIS MAP TYPES                                   
  1677.                        ===============
  1678.  
  1679.                                                                                 
  1680.                                                                                 
  1681. This chapter introduces  the various types of maps and diagrams that can be     
  1682. displayed by the OzGIS program.                                                 
  1683.                                                                                 
  1684.                                                                                 
  1685.                                                                                 
  1686.  
  1687.   8. 1 Map Types                                         
  1688.        ---------
  1689.  
  1690. Several types of maps and diagrams can be displayed with OzGIS.                 
  1691.                                                                                 
  1692. Select INTERACTIVE DISPLAY AND ANALYSIS from the top menu                       
  1693.                                                                                 
  1694. DISPLAY ZONES FOR AN ATTRIBUTE FILE                                             
  1695. DISPLAY LINES FOR AN ATTRIBUTE FILE                                             
  1696. DISPLAY SITES FOR AN ATTRIBUTE FILE                                             
  1697. DISPLAY BIVARIATE ZONES FOR TWO ATTRIBUTE FILES                                 
  1698. DISPLAY BIVARIATE LINES FOR TWO ATTRIBUTE FILES                                 
  1699. DISPLAY BIVARIATE SITES FOR TWO ATTRIBUTE FILES                                 
  1700. DISPLAY ZONES & LINES FOR TWO ATTRIBUTE FILES                                   
  1701. DISPLAY ZONES AND SITES FOR TWO ATTRIBUTE FILES                                 
  1702. DISPLAY GEOGRAPHIC FILES (NO ATTRIBUTES)                                        
  1703. DISPLAY ATTRIBUTE FILES (DIAGRAMS)                                              
  1704. DISPLAY A SAVED-DISPLAY FILE                                                    
  1705. DISPLAY A PRESENTATION FILE                                                     
  1706.                                                                                 
  1707.                                                                                 
  1708.  
  1709.   8. 2 Attribute maps                                    
  1710.        --------------
  1711.  
  1712.      There are one or two streams of attribute processing for the types of      
  1713. maps available for zone, line and site attribute data:                          
  1714.                                                                                 
  1715.      -  zones map                                                               
  1716.      -  lines map                                                               
  1717.      -  sites map                                                               
  1718.      -  two zone streams i.e. bivariate maps                                    
  1719.      -  two line streams                                                        
  1720.      -  two site streams                                                        
  1721.      -  zones and lines                                                         
  1722.      -  zones and sites                                                         
  1723.                                                                                 
  1724. The type of map is selected before display and cannot be changed except         
  1725. by returning to this main menu.                                                 
  1726.                                                                                 
  1727. Site data can be displayed in several ways:                                     
  1728.       . as sized symbols, where additional files of points can be display       
  1729.         in one of 4 symbols and colours                                         
  1730.       . as first symbol using class colours                                     
  1731.       . as contour map (WINDOWS)                                                
  1732.       . as contour map and class coloured symbols (WINDOWS)                     
  1733.  
  1734.                                                                       34
  1735.       . as first symbol using the 4 symbol colours                              
  1736.                                                                                 
  1737. Line data can be displayed in several ways:                                     
  1738.       . as line patterns, where additional files of line can be display         
  1739.         in one of 4 line types and colours                                      
  1740.       . using class colours                                                     
  1741.       . using the 4 line colours                                                
  1742.                                                                                 
  1743. Basic choropleth maps have already been demonstrated. These are selected        
  1744. within OzGIS by DISPLAY ZONES FOR AN ATTRIBUTE FILE. You can display maps       
  1745. with sized symbols in a similar way via DISPLAY SITES FOR AN ATTRIBUTE FILE, and
  1746. maps using different line types using DISPLAY LINES FOR AN ATTRIBUTE FILE.      
  1747.                                                                                 
  1748. Here are some more examples... Remember you can type "L" to get a list of       
  1749. files when asked for a file name.                                               
  1750.  
  1751.   8. 2. 1 Bivariate zones map Example                       
  1752.           ---------------------------
  1753.  
  1754. Bivariate maps enable you to compare two variables. For example you may         
  1755. want to compare your sales figures with Census data for the type of people      
  1756. you think are your customers.                                                   
  1757.                                                                                 
  1758. Select DISPLAY BIVARIATE ZONES FOR TWO ATTRIBUTE FILES from the main menu.      
  1759.                                                                                 
  1760. Use attribute files LOWE1 and LOWE2 and geographic file LOWE (both              
  1761. attribute files can be the same i.e. you only need one file).                   
  1762.                                                                                 
  1763.  Note the form of the legend; the primary attribute (first file, top            
  1764. description) is the vertical part of the legend.                                
  1765.                                                                                 
  1766. The main mapping menu will now appear on the toolbar:                           
  1767.                                                                                 
  1768. Attributes                                                                      
  1769. Class                                                                           
  1770. Features                                                                        
  1771. Overlays                                                                        
  1772. Regions                                                                         
  1773. Analyse                                                                         
  1774. Save                                                                            
  1775.                                                                                 
  1776. These are the major groups of options and will be descibed in later             
  1777. chapters.                                                                       
  1778.                                                                                 
  1779. Use "Prev Main Menu" to return to the top menu.                                 
  1780.  
  1781.   8. 2. 2 Zones & sites Example                             
  1782.           ---------------------
  1783.  
  1784. This type of map is for applications such as deciding where to put shopping     
  1785. centres, where different symbols can be used for e.g. existing centres,         
  1786. centres owned by different retail chains and proposed new centres.              
  1787.                                                                                 
  1788. This example shows that type of map and also how the geographic data displayed  
  1789. on a map can be extended and modified.                                          
  1790.                                                                                 
  1791. Select DISPLAY ZONES AND SITES FOR TWO ATTRIBUTE FILES from the top menu.       
  1792.                                                                                 
  1793.  
  1794.                                                                       35
  1795. Select DISPLAY SITES AS SIZED SINGLE COLOUR SYMBOLS                             
  1796.                                                                                 
  1797. Use the LOWE1 and LOWE2 attribute files again, and the LOWE zones geographic    
  1798. file.                                                                           
  1799.                                                                                 
  1800. Give the sites geographic file as LOWE-S1.                                      
  1801.                                                                                 
  1802. This displays a file with polygons coloured for one attribute and symbols       
  1803. sized for the other. Now we can add more sites.                                 
  1804.                                                                                 
  1805. Choose MAP REGIONS from the map menu, which shows a menu:                       
  1806.                                                                                 
  1807. CHANGE THE DISPLAYED ITEMS IN THE MAP                                           
  1808. CHANGE MAP REGION WINDOW (GEOGRAPHIC AREA)                                      
  1809. ZOOM MAP REGION WINDOW ABOUT X-HAIR POINT                                       
  1810. CHANGE MAP REGION VIEWPORT (SCREEN AREA)                                        
  1811. DEFINE NEW REGION FOR QUANTISED ZONES                                           
  1812. DEFINE NEW REGION FOR QUANTISED SITES                                           
  1813. DISPLAY MORE QUANTISED ZONES ON A REGION                                        
  1814. DISPLAY MORE QUANTISED SITES ON A REGION                                        
  1815.                                                                                 
  1816. and then DISPLAY MORE QUANTISED SITES ON A REGION. Give the next sites          
  1817. geographic file as LOWE-S2. Use symbol number 2 (number one is already used).   
  1818.                                                                                 
  1819. You will have a coloured zones map with different sized symbols according to    
  1820. the attribute values and different symbols for the two files.                   
  1821.                                                                                 
  1822. Select "Top menu" from the Files menu.                                          
  1823.  
  1824.   8. 2. 3 Geographic (GIS) maps Example                     
  1825.           -----------------------------
  1826.  
  1827. Maps can be displayed that show geographic data without attribute data i.e.     
  1828. polygons, lines, names at points and symbols at points.                         
  1829.                                                                                 
  1830. Hence you can display roads, town locations, soil polygons etc.                 
  1831.                                                                                 
  1832. Where the data are preclassified, feature codes can be used to subset the files 
  1833. for display.                                                                    
  1834.                                                                                 
  1835. For example, display some of the Hawaii DLG files. These files came from the    
  1836. USGS, and after some cleaning up, were entered as DLG-3 data and the polygons   
  1837. formed using BUILD TOPOLOGY FROM LINE SEGMENTS.                                 
  1838.                                                                                 
  1839. This example will display several of the files and show how feature codes       
  1840. can be used to subset the data displayed.                                       
  1841.                                                                                 
  1842. Select DISPLAY GEOGRAPHIC FILES (NO ATTRIBUTES) from the top menu.              
  1843.                                                                                 
  1844. The next menu allows you to define a map according to the main file of          
  1845. geographic data that you have. You can add other data to the map as overlays    
  1846. later:                                                                          
  1847.                                                                                 
  1848. DISPLAY LINE SEGMENTS FROM A GEOGRAPHIC FILE                                    
  1849. DISPLAY MARKERS AT POINTS FROM A GEOGRAPHIC FILE                                
  1850. DISPLAY NAMES AT POINTS FROM A GEOGRAPHIC FILE                                  
  1851. DISPLAY POLYGONS FROM A GEOGRAPHIC FILE                                         
  1852. DISPLAY LINE SEGMENTS FOR FEATURE CODES                                         
  1853.  
  1854.                                                                       36
  1855. DISPLAY MARKERS AT POINTS FOR FEATURE CODES                                     
  1856. DISPLAY NAMES AT POINTS FOR FEATURE CODES                                       
  1857. DISPLAY POLYGONS FOR FEATURE CODES                                              
  1858.                                                                                 
  1859.                                                                                 
  1860. Select DISPLAY POLYGONS FROM A GEOGRAPHIC FILE and use file HAWDLGWB, which is  
  1861. the outlines of the islands. Use any polygon number, give some text for the     
  1862. legend (e.g. "Islands") and use the no boundaries default.                      
  1863.                                                                                 
  1864. The main menu now appears for this type of map:                                 
  1865.                                                                                 
  1866. OVERLAY LINE SEGMENTS FROM GEOGRAPHIC FILE                                      
  1867. OVERLAY MARKERS FOR SITES IN GEOGRAPHIC FILE                                    
  1868. OVERLAY NAMES FOR SITES IN GEOGRAPHIC FILE                                      
  1869. UNDERLAY POLYGONS FROM GEOGRAPHIC FILE                                          
  1870. OVERLAY LINE SEGMENTS FOR FEATURE CODES                                         
  1871. OVERLAY MARKERS FOR SITES FOR FEATURE CODES                                     
  1872. OVERLAY NAMES FOR SITES FOR FEATURE CODES                                       
  1873. UNDERLAY POLYGONS FOR FEATURE CODES                                             
  1874. DEFINE MAP REGIONS#                                                             
  1875. CHANGE LEGEND                                                                   
  1876. DISPLAY TEXT                                                                    
  1877. SAVE DISPLAY AS A FILE                                                          
  1878.                                                                                 
  1879.                                                                                 
  1880. Select UNDERLAY POLYGONS FOR FEATURE CODES.                                     
  1881. Use file HAWDLGAB  which is administrative boundaries. The file has feature     
  1882. codes in the range 900103 to 900108. Give the range as 900103 to 900103 and use 
  1883. polygon number say 4.  Repeat for another feature code range and polygon        
  1884. number.                                                                         
  1885.                                                                                 
  1886. You will notice that a new menu item REMOVE POLYGONS UNDERLAY appears. A        
  1887. feature of the OzGIS system is that menus are dynamic and reflect the current   
  1888. status.                                                                         
  1889.                                                                                 
  1890. The administrative boundaries go outside the island coastlines so you may want  
  1891. to redraw the island outlines by overlaying line segments for file HAWDLGWB:    
  1892.                                                                                 
  1893. Select OVERLAY LINE SEGMENTS FOR FEATURE CODES.                                 
  1894. Use file HAWDLGRD which is roads.  The file has feature codes in the range      
  1895. 2905001 to 2905041.  Select a subset e.g. 2905000 to 2905020.                   
  1896. Give the legend text as "roads".                                                
  1897.                                                                                 
  1898. Select OVERLAY LINE SEGMENTS FROM GEOGRAPHIC FILE.                              
  1899. Use file HAWDLGST which is streams. Give the legend text as streams.            
  1900.                                                                                 
  1901. Select OVERLAY NAMES FOR SITES IN GEOGRAPHIC FILE. Give the file HAWDLGWB.  The 
  1902. polygon names will be displayed (the area numbers from the DLG file). Usually a 
  1903. points file would be used that has the actual names.                            
  1904.                                                                                 
  1905. Select DISPLAY TEXT, type in a title e.g. "HAWAII", and position it at          
  1906. the top of the map.                                                             
  1907.                                                                                 
  1908. Note that if you regenerate the map the polygons are drawn first, and then line 
  1909. segments, symbols and finally names.  Within each type they are displayed in    
  1910. the order specified.  If a mistake is made overlays can be removed.             
  1911.                                                                                 
  1912. If polygons overlap, "polygon overlay" operations can be simulated by           
  1913.  
  1914.                                                                       37
  1915. displaying using hatching. e.g. select the hatch device file *HATCHSV1 from     
  1916. the main menu and then display polygons from the two files HAWDLGWB (the        
  1917. islands) and HAWDLGAB (administrative boundaries).                              
  1918.                                                                                 
  1919. Use "Prev Main Menu" (twice) to return to the top level geographic map menu.    
  1920.                                                                                 
  1921. A similar set of options are available for overlaying data on other types of    
  1922. maps. For example you may want to overlay roads or town names on a Census       
  1923. data map.                                                                       
  1924.  
  1925.   8. 2. 4 Diagrams Example                                  
  1926.           ----------------
  1927.  
  1928. Distributions, sorted values and quantisation results can be displayed as full  
  1929. screen diagrams for one or two attribute files. Scatter diagrams can be         
  1930. displayed for two files.                                                        
  1931.                                                                                 
  1932. For example, to display two histograms for two attributes:                      
  1933.                                                                                 
  1934. Choose DISPLAY ATTRIBUTE FILES (DIAGRAMS) from the top menu.                    
  1935.                                                                                 
  1936. A menu appears that enables you to choose the type of diagram:                  
  1937.                                                                                 
  1938. DISPLAY VALUES HISTOGRAM FOR AN ATTRIBUTE FILE                                  
  1939. DISPLAY QUANTISATION HISTOGRAM FOR AN ATTRIBUTE FILE                            
  1940. DISPLAY DISTRIBUTION HISTOGRAM FOR AN ATTRIBUTE FILE                            
  1941. DISPLAY VALUES HISTOGRAM FOR TWO ATTRIBUTE FILES                                
  1942. DISPLAY QUANTISATION HISTOGRAM FOR TWO ATTRIBUTE FILES                          
  1943. DISPLAY DISTRIBUTION HISTOGRAM FOR TWO ATTRIBUTE FILES                          
  1944. DISPLAY SCATTER DIAGRAM FOR TWO ATTRIBUTE FILES                                 
  1945.                                                                                 
  1946.                                                                                 
  1947. Choose DISPLAY DISTRIBUTION HISTOGRAM FOR TWO ATTRIBUTE FILES                   
  1948.                                                                                 
  1949. Use LOWE1 and LOWE2 files.                                                      
  1950.                                                                                 
  1951. Next choose CHANGE DISPLAY FEATURES from the main menu.                         
  1952.                                                                                 
  1953. Now add some statistics lines:                                                  
  1954.                                                                                 
  1955. Choose ADD STATISTICS TO DIAGRAM. A new menu appears:                           
  1956.                                                                                 
  1957. DISPLAY MEAN & STD DEVIATION                                                    
  1958. DISPLAY MEDIAN                                                                  
  1959. DISPLAY REGRESSION POLYNOMIAL (for scatter diagrams)                            
  1960. REMOVE STATISTICS DISPLAY                                                       
  1961.                                                                                 
  1962. Try the DISPLAY MEAN & STD DEVIATION option (and others if you like).           
  1963.                                                                                 
  1964. Now use the Esc key to return to the main diagram menu.                         
  1965.                                                                                 
  1966. You can change attributes and quantisation in the usual ways.                   
  1967.                                                                                 
  1968. By now you will have realised that there are many options available down        
  1969. a multitude of menu paths. This can initially be confusing.                     
  1970.                                                                                 
  1971. Always remember that if the current menu does not show an option for what       
  1972. you want to do, simply keep going up a level until you find a menu option       
  1973.  
  1974.                                                                       38
  1975. that seems to offer what you want.                                              
  1976.  
  1977.   8. 3 Presentations                                     
  1978.        -------------
  1979.  
  1980. This option enables a set of saved display files to be defined for              
  1981. demonstrations.                                                                 
  1982.                                                                                 
  1983. An Ascii file is set up that gives the names of the saved display files and     
  1984. menu lines that are associated with them.                                       
  1985.                                                                                 
  1986. The format of these files is explained in a later chapter.                      
  1987.  
  1988.   8. 4 Saved-display files                               
  1989.        -------------------
  1990.  
  1991. When you have prepared a map and have it displayed you can use the              
  1992. SAVE DISPLAY FEATURES option in the map display menu to store all information   
  1993. about the map in a file. There are two forms. One saves just the map definition 
  1994. while the other saves a screen image as well.                                   
  1995.                                                                                 
  1996. Both forms enable a map to be restored for further mapping. This is the usual   
  1997. procedure if a map has taken a long time to design.                             
  1998.                                                                                 
  1999. Saved maps are also used for hard-copy generation.                              
  2000.  
  2001.   8. 5 Time Lapse Display (not available)                
  2002.        ----------------------------------
  2003.  
  2004.                                                                                 
  2005. This option was not ported from the PDP11 / DeANZA version.                     
  2006.                                                                                 
  2007. Special options are available for the display of time lapse files.  The         
  2008. following parameters can be altered:                                            
  2009.                                                                                 
  2010.       -  The time interval between successive attributes (given in units of     
  2011.          approximately seconds)                                                 
  2012.                                                                                 
  2013.       -  The time interval between the end and beginning attributes of a        
  2014.          sequence (given in units of seconds); i.e. the pause between a         
  2015.          repeated sequence.                                                     
  2016.                                                                                 
  2017.       -  The beginning and end attribute of the sequence being displayed.       
  2018.                                                                                 
  2019. The zone legend format is not updated during a time lapse sequence, and by      
  2020. default the class description of the legend is set to the "HIGH" and "LOW"      
  2021. format.  Histograms and scatter plots cannot be displayed during a time lapse   
  2022. presentation.                                                                   
  2023.  
  2024.                                                                       39
  2025.                     9. ATTRIBUTE SELECTION                               
  2026.                        ===================
  2027.  
  2028.                                                                                 
  2029.                                                                                 
  2030. Attribute data is held in attribute files. Each file can have many variables    
  2031. e.g. USA Census data STF1A files can have over 900 variables.                   
  2032.                                                                                 
  2033. This chapter explains the options used to select which attribute is to be       
  2034. displayed on a map.                                                             
  2035.                                                                                 
  2036.                                                                                 
  2037.                                                                                 
  2038.  
  2039.   9. 1 Introduction                                      
  2040.        ------------
  2041.  
  2042. Various attribute files can be nominated to generate a map display.             
  2043.                                                                                 
  2044. Attribute may be selected for quantisation and display from attribute           
  2045. files in various ways:                                                          
  2046.                                                                                 
  2047. To try these options, display a zones map using attribute file LOWE1 and        
  2048. geographic file LOWE as before and then select CHANGE ATTRIBUTES.               
  2049.                                                                                 
  2050. The menu gives the following options:                                           
  2051.                                                                                 
  2052. SELECT FROM A LIST                                                              
  2053. DISPLAY THE NEXT SEQUENTIAL ATTRIBUTE                                           
  2054. SELECT AN ATTRIBUTE FOR DISPLAY BY NUMBER                                       
  2055. SELECT AN ATTRIBUTE FOR DISPLAY BY DESCRIPTION                                  
  2056.                                                                                 
  2057.  
  2058.   9. 2 From a list                                       
  2059.        -----------
  2060.  
  2061. A list of available attributes is displayed and one is selected by double       
  2062. clicking with the mouse.                                                        
  2063.                                                                                 
  2064.  
  2065.   9. 3 Sequentially                                      
  2066.        ------------
  2067.  
  2068. This option will simply select the next attribute off the file.                 
  2069.  
  2070.   9. 4 By number (position in file)                      
  2071.        ----------------------------
  2072.  
  2073. A particular attribute may be selected by the position within the file. Type    
  2074. zero to generate a list of the attributes on the current file.                  
  2075.  
  2076.   9. 5 By attribute description                          
  2077.        ------------------------
  2078.  
  2079. The attribute can also be selected by typing part of the description e.g.       
  2080. "FORC" to retrieve "ARMED FORCES". Typing L lists the attributes.               
  2081.  
  2082.                                                                       40
  2083.  
  2084.   9. 6 By arithmetic operation                           
  2085.        -----------------------
  2086.  
  2087. This option enables a new attribute to be generated for display                 
  2088.                                                                                 
  2089. e.g. the expression " #2 + #4 " forms a new attribute that is the sum of        
  2090. the second and fourth attributes on the input file.                             
  2091.                                                                                 
  2092. Attributes can also be prepared as a data preparation option and the options    
  2093. are fully described in the relevant chapter.                                    
  2094.  
  2095.   9. 7 Zone/Site/Line names                              
  2096.        --------------------
  2097.  
  2098. It is your responsibility to ensure that the names referenced by the            
  2099. attributes match the names of the displayed zones, lines or sites in the        
  2100. map.  Obviously colours can be assigned only to the zone with names common      
  2101. to the attribute and zone files etc.                                            
  2102.                                                                                 
  2103. Only some of the names have to agree; it is quite common to process attribute   
  2104. data for a larger area than is displayed.                                       
  2105.  
  2106.                                                                       41
  2107.                    10. QUANTISATION                                      
  2108.                        ============
  2109.  
  2110.                                                                                 
  2111.                                                                                 
  2112. Quantisation is the process of assigning map items to classes according to      
  2113. their attribute values.                                                         
  2114.                                                                                 
  2115. The quantisation process is the most important aid for the analyst in           
  2116. understanding the features of the attribute data.  The quantisation method      
  2117. and parameters should be chosen logically according to the purpose of           
  2118. analysing the data.                                                             
  2119.                                                                                 
  2120. The aim is to display the map that best shows the spatial features and          
  2121. distribution of the data.                                                       
  2122.                                                                                 
  2123.                                                                                 
  2124.                                                                                 
  2125.                                                                                 
  2126.                                                                                 
  2127.                                                                                 
  2128.  
  2129.  10. 1 Introduction                                      
  2130.        ------------
  2131.  
  2132. Attributes are usually presented to OzGIS as values which have to               
  2133. be quantized into a number of classes for display.                              
  2134.                                                                                 
  2135. A maximum of 10 classes can appear in single variate zone displays and          
  2136. 9 classes (a maximum of 3 per variate) in a bivariate display.  A maximum       
  2137. of 4 classes is available for lines and 4 classes for sites.                    
  2138.                                                                                 
  2139. The best maps usually have a small number of classes; manipulate the            
  2140. map to show the data according to requirements. This contrasts with the         
  2141. production of atlases, where large numbers of colours are used as the purpose   
  2142. to which the map will be put is not known.                                      
  2143.                                                                                 
  2144. To try these options, display a zones map using attribute file LOWE1 and        
  2145. geographic file LOWE as before, and select DEFINE QUANTISATION.                 
  2146.                                                                                 
  2147. The quantisation menu has the following form:                                   
  2148.                                                                                 
  2149. CHANGE THE QUANTISATION METHOD                                                  
  2150. CHANGE THE NUMBER OF CLASSES                                                    
  2151. SELECT THE ZONES FOR QUANTISATION                                               
  2152. SELECT THE ATTRIBUTE VALUE RANGE FOR QUANTISATION                               
  2153.                                                                                 
  2154. You will find that this menu is dynamic as usual. You will find other           
  2155. entries such as SELECT THE LINES FOR QUANTISATION or                            
  2156. CHANGE THE NUMBER OF SITE CLASSES for different types of maps.                  
  2157.                                                                                 
  2158. Try changing the number of classes first and then work through                  
  2159. the various methods.                                                            
  2160.                                                                                 
  2161. There are other options to change the list of zones to which quantisation is    
  2162. applied and to change the range of values over which the method operates.       
  2163.  
  2164.                                                                       42
  2165.  
  2166.  10. 2 Quantisation Methods                              
  2167.        --------------------
  2168.  
  2169. Selecting the menu option CHANGE THE QUANTISATION METHOD will display a new     
  2170. menu of the form:                                                               
  2171.                                                                                 
  2172. USE EQUAL VALUE INTERVALS                                                       
  2173. USE QUANTILES                                                                   
  2174. USE SELECTED CLASS INTERVALS                                                    
  2175. USE SELECTED NUMBER OF ZONES PER CLASS                                          
  2176. USE REFINED EQUAL VALUE INTERVALS                                               
  2177. USE THE MEAN AND STD DEVIATION METHOD                                           
  2178. USE THE NESTED MEANS METHOD                                                     
  2179. USE THE NATURAL BREAKS METHOD                                                   
  2180. USE SELECTED PERCENTILES                                                        
  2181. USE SELECTED CLASS RANGE PERCENTILES                                            
  2182. USE INTERACTIVE SELECTION OF CLASS INTERVALS                                    
  2183. USE EQUIVALENCE CLASSES                                                         
  2184. USE CURRENT CLASS RANGES                                                        
  2185. USE CURRENT NO PER CLASS                                                        
  2186.                                                                                 
  2187. If you have a 256 colour display the following item also appears:               
  2188. USE PSEUDO CONTINUOUS-COLOUR                                                    
  2189.                                                                                 
  2190. You should try out these various methods e.g. with the attribute and            
  2191. geographic files OZ.                                                            
  2192.                                                                                 
  2193.                                                                                 
  2194.                                                                                 
  2195. The following methods for quantization are available for determining            
  2196. the class intervals:                                                            
  2197.                                                                                 
  2198.    (a)  Equivalence Classes:  numbers are assigned to the attribute values      
  2199.         (possibly with integer round-off).  The attribute values should lie     
  2200.         in the range of the maximum number of classes permitted but they        
  2201.         will be scaled for the selected number of classes.                      
  2202.                                                                                 
  2203.         This method enables the quantisation to be carried out on another       
  2204.         system and the resulting class numbers entered instead of attribute     
  2205.         values.  A common use is for mapping discrete data e.g. political       
  2206.         parties on election maps.                                               
  2207.                                                                                 
  2208.    (b)  Quantiles:  intervals are computed by assigning the same number of      
  2209.         zones to each class.                                                    
  2210.                                                                                 
  2211.         This method has often been used to generate choropleth maps, e.g.       
  2212.         deciles.  The effect of equal numbers of zones is maps that have        
  2213.         approximate equal areas of each class colour.  Such maps are            
  2214.         pretty.  Unfortunately quantiles tend to obscure the distribution       
  2215.         of the attribute data.  (Conversely its a great method if your          
  2216.         data is of doubtful value)                                              
  2217.                                                                                 
  2218.    (c)  Equal Value Intervals:  intervals are computed from equal               
  2219.         increments over the range of attribute values.                          
  2220.                                                                                 
  2221.         The default quantisation method selected when a map is first            
  2222.  
  2223.                                                                       43
  2224.         generated is equal value intervals.  The advantage of this method       
  2225.         is that the number of zones assigned to each class indicate the         
  2226.         distribution of the data.  It is recommended for general purpose        
  2227.         maps and for initial investigations of attribute data.                  
  2228.                                                                                 
  2229.    (d)  Refined Equal Value Intervals:  intervals are computed from equal       
  2230.         increments over the attribute value range, modified by a                
  2231.         "round-off" procedure (e.g. an increment of 10.12 would become          
  2232.         10.00).                                                                 
  2233.                                                                                 
  2234.         Maps for publications usually have 'nice' values in the legend.         
  2235.                                                                                 
  2236.    (e)  Continuous Colour:  121 intervals are computed from equal               
  2237.         increments over the range of attribute values.  Only 8 classes are      
  2238.         displayed in the legend, but the colours are assigned over the 121      
  2239.         quantized values to give a "continuous colour" appearance.              
  2240.         This option is only available with standard zone maps on 256            
  2241.         colour display systems.                                                 
  2242.                                                                                 
  2243.    (f)  Interactive Selection of Class Intervals:  intervals are selected       
  2244.         by the user by placing crosshairs on a displayed histogram.             
  2245.         (256 colours interactive mode only!)                                    
  2246.                                                                                 
  2247.    (g)  Mean and Standard Deviation:  intervals are determined by dividing      
  2248.         the range of attribute values at the mean value and at specified        
  2249.         offsets from the mean that are multiples of the standard deviation      
  2250.         of the data.  The number of classes must be even.                       
  2251.                                                                                 
  2252.         This method has particular application for attribute data from          
  2253.         random populations where the data are expected to have a normal         
  2254.         distribution and hence statistical theorems govern percentages of       
  2255.         population within the classes.                                          
  2256.                                                                                 
  2257.    (h)  Nested Means:  intervals are determined by iterative division of        
  2258.         the range of attribute values at the mean value of the subdivision.     
  2259.         The number of classes must be 2, 4 or 8.                                
  2260.                                                                                 
  2261.    (i)  Natural Breaks:  intervals are determined by iterative division at      
  2262.         the largest difference between attribute values.  The number of         
  2263.         attribute values between differences is user-specified.  Hence          
  2264.         class intervals occur at "jumps" in the data.                           
  2265.                                                                                 
  2266.    (j)  Specification of Class Intervals:  interval values (for a specified     
  2267.         number of classes) are typed in by the user.                            
  2268.                                                                                 
  2269.         Hence data within certain value ranges can be isolated.   Suitable      
  2270.         class intervals for hard-copy maps can be selected.                     
  2271.                                                                                 
  2272.    (k)  Specification of Numbers Per Class:  intervals are determined by        
  2273.         user-specification of the number of zones or sites in each class.       
  2274.         The numbers need only be given for some of the classes; the             
  2275.         remaining zones or sites will be distributed over the remaining         
  2276.         classes during each quantization.                                       
  2277.                                                                                 
  2278.         An analyst can isolate data at the extremes of the attribute            
  2279.         distribution by using this method.                                      
  2280.                                                                                 
  2281.    (l)  Class Number Percentiles:  intervals are determined from                
  2282.  
  2283.                                                                       44
  2284.         user-specified values giving the percentages of the number of zones     
  2285.         within each class.                                                      
  2286.                                                                                 
  2287.    (m)  Class Range Percentiles:  intervals are determined from                 
  2288.         user-specified values giving the percentage of the total range of       
  2289.         attribute values in each class.                                         
  2290.                                                                                 
  2291.    (n)  Current Class Intervals:  the intervals (and number of classes) are     
  2292.         used to quantize subsequent attributes.                                 
  2293.                                                                                 
  2294.         Hence a series of maps can be produced with the same legend which       
  2295.         enables attributes to be compared.                                      
  2296.                                                                                 
  2297.    (o)  Current Numbers:  the number of zones or sites per class (and           
  2298.         number of classes) are used to determine the intervals for              
  2299.         subsequent attributes.                                                  
  2300.  
  2301.  10. 3 Quantisation Ranges                               
  2302.        -------------------
  2303.  
  2304. The range of values over which the quantization is applied can be               
  2305. restricted in all methods.  The following options are available for             
  2306. limiting the range:                                                             
  2307.                                                                                 
  2308.       -  the extremes of all values (default)                                   
  2309.       -  user-specified limits (the user enters the low and high values)        
  2310.       -  refined values (i.e., automatically rounded to "nice" values)          
  2311.       -  limits fixed at current values for subsequent quantisations            
  2312.                                                                                 
  2313. Zones with values outside these limits are assigned the "excluded zone"         
  2314. value and colour, lines and sites are not displayed.                            
  2315.                                                                                 
  2316. The menu is of the form:                                                        
  2317.                                                                                 
  2318. QUANTISE FOR ATTRIBUTE VALUE RANGE                                              
  2319. TYPE IN ATTRIBUTE VALUE LIMITS FOR EVERY QUANTISATION                           
  2320. FIX LIMITS AT CURRENT VALUES                                                    
  2321. QUANTISE FOR AUTOMATICALLY SELECTED VALUE LIMITS                                
  2322.                                                                                 
  2323.                                                                                 
  2324. For example a standard legend for percentage data with value ranges             
  2325. 0,25,50,75 and 100 could be generated by choosing extremes to be 0 and 100      
  2326. and fixing them, and by using 4 equal value classes.                            
  2327.  
  2328.  10. 4 Quantisation Lists                                
  2329.        ------------------
  2330.  
  2331. Each of the attribute processing streams has an associated list                 
  2332. that holds the names of the items being quantised i.e. zones or lines or        
  2333. sites.  There is one list for a single stream, one zones list for bivariate     
  2334. maps, and for two streams there is a list of zones and a list of lines or       
  2335. sites.                                                                          
  2336.                                                                                 
  2337. Each list selects the items that are to be quantised from the                   
  2338. corresponding attribute file.  When a map is generated the lists are set to     
  2339. all the names if the attribute files (common names in the case of bivariate     
  2340. maps).                                                                          
  2341.                                                                                 
  2342.  
  2343.                                                                       45
  2344. Zone lists can be reset to:                                                     
  2345.                                                                                 
  2346.       -  all zones in current attribute file (single variate)                   
  2347.       -  all zones common to two attribute files (bivariate)                    
  2348.       -  the displayed zones                                                    
  2349.       -  zones in a names file                                                  
  2350.                                                                                 
  2351. The menu is of the form:                                                        
  2352.                                                                                 
  2353. QUANTISE FOR DISPLAYED SITES                                                    
  2354. QUANTISE FOR ALL SITES IN THE ATTRIBUTE FIL                                     
  2355. QUANTISE FOR SITES IN A NAME FILE                                               
  2356. EDIT SITES USED FOR QUANTISATION                                                
  2357.                                                                                 
  2358.                                                                                 
  2359. Zone lists can also be modified by adding or deleting zone names by             
  2360. typing in a name or selecting the zone with the cursor (256 colour mode)        
  2361.                                                                                 
  2362. Site lists and line lists can be modified by giving the names.                  
  2363.                                                                                 
  2364. Hence the quantisation can take place for a set of items that is                
  2365. independent of the displayed, zone lines and sites (although it is              
  2366. illogical for none to be the same).  It is common for the quantisation to       
  2367. be carried out over a larger geographic area than that being displayed.         
  2368. Sometimes zones are removed because the attribute data are doubtful e.g.        
  2369. Census districts with a low population.                                         
  2370.                                                                                 
  2371. Changing attribute files does not change the items whose values are             
  2372. quantized.                                                                      
  2373.  
  2374.                                                                       46
  2375.                    11. GEOGRAPHIC OVERLAYS                               
  2376.                        ===================
  2377.  
  2378.                                                                                 
  2379. This chapter describes how geographic data such as roads and town locations     
  2380. can be overlayed on top of displayed maps.                                      
  2381.                                                                                 
  2382.                                                                                 
  2383.                                                                                 
  2384.                                                                                 
  2385.  
  2386.  11. 1 Introduction                                      
  2387.        ------------
  2388.  
  2389. Geographic files can be displayed on zones, sites and lines maps to add extra   
  2390. information, usually for "navigation" purposes.                                 
  2391.                                                                                 
  2392. Overlays are selected by choosing DEFINE GEOGRAPHIC OVERLAYS off the main       
  2393. map display menu.                                                               
  2394.                                                                                 
  2395. A menu appears of the following form:                                           
  2396.                                                                                 
  2397. OVERLAY LINE SEGMENTS FROM A GEOGRAPHIC FILE                                    
  2398. OVERLAY MARKERS FOR SITES IN GEOGRAPHIC FILE                                    
  2399. OVERLAY NAMES FOR SITES IN GEOGRAPHIC FILE                                      
  2400. UNDERLAY POLYGONS FROM GEOGRAPHIC FILE                                          
  2401. OVERLAY LINE SEGMENTS FOR FEATURE CODES                                         
  2402. OVERLAY MARKERS FOR SITES FOR FEATURE CODES                                     
  2403. OVERLAY NAMES FOR SITES FOR FEATURE CODES                                       
  2404. UNDERLAY POLYGONS FOR FEATURE CODES                                             
  2405.                                                                                 
  2406. This menu is similar to the one used with geographic (no attributes) maps.      
  2407.                                                                                 
  2408. Polygons can be displayed underneath, such as postal districts under a sites    
  2409. map.                                                                            
  2410.                                                                                 
  2411. Lines are often displayed on top of a map e.g. roads, rivers.                   
  2412.                                                                                 
  2413. Points can be displayed as symbols e.g. locations of shopping centres.          
  2414.                                                                                 
  2415. Point labels can also be displayed e.g. names of towns.                         
  2416.                                                                                 
  2417. Overlays etc are displayed in the order polygon underlays, then the standard    
  2418. map according to attribute values, then line overlays, then point symbols, and  
  2419. finally names.                                                                  
  2420.                                                                                 
  2421. Within each type of overlay display takes place in the order the overlays are   
  2422. defined. In some cases order of definition is important as a later overlay can  
  2423. obscure an earlier one.                                                         
  2424.                                                                                 
  2425. The basic geographic files contain  polygons,lines, points and names. e.g. a    
  2426. file of one level of census boundaries (e.g. blocks) could be displayed as a    
  2427. lines overlay. Files built with BUILD TOPOLOGY also contain approximate         
  2428. centroids of zones with labels being the zone names.                            
  2429.  
  2430.                                                                       47
  2431.  
  2432.  11. 2 USA Census / TIGER Overlays Example               
  2433.        -----------------------------------
  2434.  
  2435. Some sample files are supplied with the system for Washington DC. These were    
  2436. supplied by the US Census Bureau, and would usually be obtained on CD-ROM.      
  2437.                                                                                 
  2438. The attribute file is WASHTRACT and was created by entering the first file off  
  2439. the STF1A CD-ROM (the original file was called STF1A0DC.DBF). This file         
  2440. contains about 40 of the 1990 Census variables extracted for tract/BNAs.        
  2441.                                                                                 
  2442. Three geographic files are supplied. These came from the CD-ROM files for       
  2443. Washington DC. The files for records type 1 (endpoints) and type 2 (shapes) were
  2444. processed. The files were simplified (thinned) to reduce the size.              
  2445.                                                                                 
  2446. WASHTRACT was created by extracting census boundaries for the tract/BNAs with   
  2447. the IMPORT DATA FILES option, thinning with the PREPARE DATA FOR DISPLAY option,
  2448. and finally using the BUILD TOPOLOGY option.                                    
  2449.                                                                                 
  2450. WASHRAIL is a lines file of railroads created by  extracting for feature codes  
  2451. 200 to 252 in the data entry process.                                           
  2452.                                                                                 
  2453. WASHROAD is a lines file of all roads created by extracting for feature codes   
  2454. 100 to 148 in the data entry process.                                           
  2455.                                                                                 
  2456.                                                                                 
  2457. These files can be used to demonstrate the use of overlays:                     
  2458.                                                                                 
  2459. First select DISPLAY ZONES FOR AN ATTRIBUTE FILE to display a zones map using   
  2460. attribute file WASHTRACT and geographic file WASHTRACT. This gives a standard   
  2461. choropleth map for 1990 Census data for Washington at tract/BNA level.          
  2462.                                                                                 
  2463. Select DEFINE GEOGRAPHIC OVERLAYS from the map menu.                            
  2464.                                                                                 
  2465. A menu appears that offers options for several types of overlays:               
  2466.                                                                                 
  2467. OVERLAY LINE SEGMENTS FROM A GEOGRAPHIC FILE                                    
  2468. OVERLAY MARKERS FOR SITES IN GEOGRAPHIC FILE                                    
  2469. OVERLAY NAMES FOR SITES IN GEOGRAPHIC FILE                                      
  2470. UNDERLAY POLYGONS FROM GEOGRAPHIC FILE                                          
  2471. OVERLAY LINE SEGMENTS FOR FEATURE CODES                                         
  2472. OVERLAY MARKERS FOR SITES FOR FEATURE CODES                                     
  2473. OVERLAY NAMES FOR SITES FOR FEATURE CODES                                       
  2474. UNDERLAY POLYGONS FOR FEATURE CODES                                             
  2475.                                                                                 
  2476.                                                                                 
  2477. Now select OVERLAY MARKERS FOR SITES IN GEOGRAPHIC FILE,                        
  2478. use the same geographic file,                                                   
  2479. select marker 1, give the legend text as TRACTS.                                
  2480.                                                                                 
  2481.                                                                                 
  2482. A series of markers will be displayed. The locations are the points within the  
  2483. standard zones/polygon file built with BUILD ZONES?POLYGONS so are the          
  2484. approximate centroids of the polygons.                                          
  2485.                                                                                 
  2486. Next select OVERLAY NAMES FOR SITES IN GEOGRAPHIC FILE, and use the same        
  2487. geographic file in a similar way to display the tract codes. The names here are 
  2488.  
  2489.                                                                       48
  2490. the zone names. You could of course use any file with different locations and   
  2491. names e.g. town names.                                                          
  2492.                                                                                 
  2493. Now add a line segments overlay. Select OVERLAY LINE SEGMENTS FROM A            
  2494. GEOGRAPHIC FILE. Use the file WASHRAIL to display railroads.                    
  2495.                                                                                 
  2496. You could now do the same for the roads file. Try subsetting for feature codes  
  2497. as follows:                                                                     
  2498.                                                                                 
  2499. Select OVERLAY LINE SEGMENTS FOR FEATURE CODES. Use a different                 
  2500. line number each time and try a range 110 to 138 first to display primary,      
  2501. secondary and country roads. Then try a range 140 to 148 to display             
  2502. neighbourhood roads. TIGER file feature codes are defined in the appendix.      
  2503.                                                                                 
  2504.  
  2505.                                                                       49
  2506.                    12.  DISPLAY CONTROL & MAP DESIGN                     
  2507.                        =============================
  2508.  
  2509.                                                                                 
  2510.                                                                                 
  2511. This chapter describes the options available for changing the general appearance
  2512. of a map.                                                                       
  2513.                                                                                 
  2514. These options enable map features that are not geographically referenced to be  
  2515. defined.                                                                        
  2516.                                                                                 
  2517.                                                                                 
  2518.                                                                                 
  2519.                                                                                 
  2520.                                                                                 
  2521.  
  2522.  12. 1 Introduction                                      
  2523.        ------------
  2524.  
  2525. A series of options are available to control the general appearance of maps.    
  2526.                                                                                 
  2527. These are chosen by selecting CHANGE DISPLAY FEATURES from the main map         
  2528. menu.                                                                           
  2529.                                                                                 
  2530. The menu is of the form:                                                        
  2531.                                                                                 
  2532. DISPLAY TEXT                                                                    
  2533. DEFINE ATTRIBUTE DIAGRAMS ON MAP                                                
  2534. ADD STATISTICS TO DIAGRAM                                                       
  2535. CHANGE ZONES LEGEND                                                             
  2536. CHANGE LINES LEGEND                                                             
  2537. CHANGE SITES LEGEND                                                             
  2538. CHANGE GEOGRAPHIC OVERLAYS (GIS) LEGEND                                         
  2539. DISPLAY SYMBOL LEGEND                                                           
  2540. DISPLAY REGION GRIDS                                                            
  2541.                                                                                 
  2542. The actual options that appear depends on the type of map. The options are      
  2543. described in the following sections:                                            
  2544.                                                                                 
  2545.  
  2546.  12. 2  Map Quantisation Legends                         
  2547.        -------------------------
  2548.  
  2549.                                                                                 
  2550. A legend is always displayed on the monitor when an attribute is                
  2551. quantised for map display.  Similar legends are displayed for zones, lines      
  2552. and sites.                                                                      
  2553.                                                                                 
  2554. The menu to change legends has the form:                                        
  2555.                                                                                 
  2556. REMOVE/INCLUDE CLASS RANGES                                                     
  2557. ANNOTATE CLASS BOXES WITH 'HIGH' AND 'LOW'                                      
  2558. TYPE IN CLASS ANNOTATION (2 LINES PER CLASS)                                    
  2559. CHANGE ANNOTATION FOR A CLASS                                                   
  2560. TYPE IN CLASS ANNOTATION HEADER                                                 
  2561. REMOVE/INCLUDE CLASS ANNOTATION HEADER                                          
  2562. REMOVE/INCLUDE NO. ZONES IN CLASSES                                             
  2563.  
  2564.                                                                       50
  2565. REMOVE/INCLUDE MISSING DATA BOX                                                 
  2566. REMOVE/INCLUDE EXCLUDED ZONES BOX                                               
  2567. REMOVE/INCLUDE UNITS DESCRIPTION                                                
  2568. TYPE IN ZONES LEGEND TITLE                                                      
  2569. REMOVE/INCLUDE ZONES LEGEND TITLE                                               
  2570. SPECIFY CLASS RANGE DISPLAY PRECISION                                           
  2571. SELECT ZONES LEGEND VIEWPORT WITH THE BOX-CURSORS                               
  2572.                                                                                 
  2573.                                                                                 
  2574. The elements of a legend are:                                                   
  2575.                                                                                 
  2576.       -  TITLE, a title for the legend (maximum of 3 lines and 16               
  2577.          characters per line).                                                  
  2578.                                                                                 
  2579.       -  UNITS, description of the units of a legend (maximum of 10             
  2580.          characters).                                                           
  2581.                                                                                 
  2582.       -  HEADER, a header for the class annotation (maximum of 8                
  2583.          characters).  The default is "RANGE".                                  
  2584.                                                                                 
  2585.                                                                                 
  2586.       -  CLASS ANNOTATION, either                                               
  2587.                                                                                 
  2588.             -  the class intervals as numbers aligned between boxes             
  2589.                (maximum of 8 characters), or                                    
  2590.                                                                                 
  2591.             -  class description aligned with the centre of boxes (maximum      
  2592.                of 2 lines, 8 characters per line), or                           
  2593.                                                                                 
  2594.             -  "HIGH" and "LOW" at the top and bottom of the boxes              
  2595.                respectively.                                                    
  2596.                                                                                 
  2597.       -  EXCLUDED ZONES, annotation for the "excluded zones" class              
  2598.                                                                                 
  2599.       -  MISSING DATA ZONES, annotation for the "missing data" class            
  2600.                                                                                 
  2601.       -  NUMBERS, the numbers of items in each class.                           
  2602.                                                                                 
  2603. Zone legends have fixed size boxes that give the colours used for the           
  2604. classes.                                                                        
  2605.                                                                                 
  2606. Site legends have variable sized symbols in a special colour that give          
  2607. the markers and their sizes used for the classes.                               
  2608.                                                                                 
  2609. Line legends replace the boxes by sample lines in a special colour              
  2610. that give the line types used for the classes.                                  
  2611.                                                                                 
  2612. All text in a legend is written with small fixed size characters.               
  2613.                                                                                 
  2614. Display of the legend elements can be controlled by the user.  The              
  2615. boxes corresponding to attribute classes are always displayed but the           
  2616. elements (including "excluded zones" and "missing data " boxes) can be          
  2617. removed.                                                                        
  2618.                                                                                 
  2619. Some of the legend text can be replaced by characters entered by the            
  2620. user on the keyboard, viz.,                                                     
  2621.                                                                                 
  2622.          -  title                                                               
  2623.  
  2624.                                                                       51
  2625.          -  units                                                               
  2626.          -  header                                                              
  2627. and      -  class description                                                   
  2628.                                                                                 
  2629. The default map layout sets the map image viewport as the left three            
  2630. quarters (approximately) of the monitor, and the legend viewpoints on the       
  2631. right side of the screen.  The zone legend is on the bottom, line or site       
  2632. legend above.                                                                   
  2633.                                                                                 
  2634. New legend viewpoints can be selected with the box cursor.  A single            
  2635. variate legend may need more than one column to fit.                            
  2636.                                                                                 
  2637.  
  2638.  12. 3 Overlays (GIS) legends                            
  2639.        ----------------------
  2640.  
  2641. When line overlays, markers, text at points or polygon underlays are displayed  
  2642. a legend appears that describes the overlays. The text must be specified by the 
  2643. user.                                                                           
  2644.  
  2645.  12. 4 Other Legends                                     
  2646.        -------------
  2647.  
  2648. When several line files are being displayed using different lines, or           
  2649. several site files are displayed using different markers, a legend can be       
  2650. added.                                                                          
  2651.                                                                                 
  2652.       The line and marker legends have similar format:                          
  2653.                                                                                 
  2654.       -  a header line of text                                                  
  2655.       -  legend entries                                                         
  2656.       -  marker or box in quantisation legend colour                            
  2657.       -  description                                                            
  2658.  
  2659.  12. 5 Text                                              
  2660.        ----
  2661.  
  2662. Lines of text can be typed in and displayed on the screen in one of             
  2663. the four available text types.  The text is positioned with the cursor.  Up     
  2664. to 20 lines of text can be displayed.                                           
  2665.                                                                                 
  2666. Lines of text can be deleted and moved around the screen.                       
  2667.                                                                                 
  2668. Text is usually added to a map to supply extra information e.g. the             
  2669. name of the geographic region and type of zones, organisation names,            
  2670. disclaimers.                                                                    
  2671.  
  2672.  12. 6 Attribute Diagrams                                
  2673.        ------------------
  2674.  
  2675. A menu is available to control diagrams added to an attribute map.              
  2676.                                                                                 
  2677. Select DEFINE ATTRIBUTE DIAGRAMS ON MAP.                                        
  2678.                                                                                 
  2679.                                                                                 
  2680. DISPLAY THE SCATTER DIAGRAM                                                     
  2681. DISPLAY THE ATTRIBUTE DISTRIBUTION                                              
  2682. DISPLAY THE QUANTISATION RESULTS                                                
  2683.  
  2684.                                                                       52
  2685. DISPLAY THE SORTED ATTRIBUTE VALUES                                             
  2686. REMOVE/DISPLAY AXES                                                             
  2687. REMOVE DIAGRAM                                                                  
  2688. CHANGE DISPLAY VIEWPORT                                                         
  2689.                                                                                 
  2690.                                                                                 
  2691.       (a)  Histograms can be displayed in the map area.  The                    
  2692.            histograms show one of the following:                                
  2693.                                                                                 
  2694.             -  the number of items (zones or sites) within equal intervals      
  2695.                of a single attribute                                            
  2696.             -  the number of items within class intervals of a single           
  2697.                attribute                                                        
  2698.             -  the attribute values corresponding to zones sorted in            
  2699.                ascending order of attribute value.                              
  2700.                                                                                 
  2701.                The bars of a histogram are coloured according to the class      
  2702.                colours in the legend.  For two variate displays, two            
  2703.                histograms can be displayed one underneath the other.  The       
  2704.                histograms provide an overview of the statistical                
  2705.                distribution of the attribute values.                            
  2706.                                                                                 
  2707.       (b)      Scatter plots can be displayed in the map area for               
  2708.                bivariate zone displays.  The plots show the distribution of     
  2709.                zones within the ranges of each attribute.  The elements of      
  2710.                the plot are coloured according to the class colours in the      
  2711.                legend.  The scatter plots provide an overview of the            
  2712.                statistical distribution of the attribute values.                
  2713.                                                                                 
  2714.       (c)   Statistics can be added to the diagrams:                            
  2715.                                                                                 
  2716.       -  mean and standard deviation lines                                      
  2717.       -  median                                                                 
  2718.                                                                                 
  2719.       A regression polynomial of order 1,2 or 3 can be added to a scatter       
  2720.       diagram.                                                                  
  2721.                                                                                 
  2722.       The diagram viewport is selected with the cursor.                         
  2723.                                                                                 
  2724. Addition of a distribution histogram or scatter diagram (bivariate)             
  2725. add considerably to the information content of a map. They are displayed by     
  2726. default.                                                                        
  2727.  
  2728.  12. 7 Displayed Colours (removed)                       
  2729.        ---------------------------
  2730.  
  2731.                                                                                 
  2732. Options to change colours are no longer available.                              
  2733.                                                                                 
  2734. They were removed when DOS limits were exceeded.                                
  2735.                                                                                 
  2736. All colours within a map display can be changed by the user when a              
  2737. 256 colour VGA display system is being used.  Individual colours can be         
  2738. selected in three ways:                                                         
  2739.                                                                                 
  2740.       (a)  by reference to a colour palette.  The colour is selected with       
  2741.            the crosshairs (256 colour mode).                                    
  2742.                                                                                 
  2743.  
  2744.                                                                       53
  2745.       (b)  by a blue, green and red (B,G,R) triple.  Values for each of the     
  2746.                                                                                 
  2747.            elements in the triple range from 0 to 1.0;  a red colour would      
  2748.            therefore be 0.0,0.0,1.0.                                            
  2749.                                                                                 
  2750.       (c)  by a name from a colour names file.  The name is a character         
  2751.            string typed on the keyboard.                                        
  2752.                                                                                 
  2753. Any of these ways can be selected by the user.                                  
  2754.                                                                                 
  2755. The set of colours is assigned to map classes and associated map                
  2756. elements by reference to the current device file.                               
  2757.                                                                                 
  2758. This enables colours for all of  the classes to be assigned quickly, although   
  2759. individual colours in the set can be modified subsequently.                     
  2760.                                                                                 
  2761. Displayed elements must be identified in order to change their                  
  2762. colour.                                                                         
  2763.                                                                                 
  2764. Certain elements are explictly referenced in the menus associated               
  2765. with colour change, and can be identified by selecting the appropriate menu     
  2766. option.  These elements are:                                                    
  2767.                                                                                 
  2768.      -  text                                                                    
  2769.      -  markers                                                                 
  2770.      -  lines                                                                   
  2771.      -  zone boundary                                                           
  2772.      -  map background                                                          
  2773.      -  excluded zones                                                          
  2774.      -  zones with missing data                                                 
  2775.      -  zone attribute classes                                                  
  2776.      -  background of attribute diagrams                                        
  2777.      -  site legend markers                                                     
  2778.      -  line legend                                                             
  2779.                                                                                 
  2780. Specific attribute classes, text, markers and lines are identified by           
  2781. number.                                                                         
  2782.  
  2783.                                                                       54
  2784.                    13. MAP REGIONS                                       
  2785.                        ===========
  2786.  
  2787.                                                                                 
  2788.                                                                                 
  2789. This chapter describes the options that enable the geographic layout of a       
  2790. map to be defined.                                                              
  2791.                                                                                 
  2792.                                                                                 
  2793.                                                                                 
  2794.  
  2795.  13. 1 Introduction                                      
  2796.        ------------
  2797.  
  2798. Map regions enable complex map layouts to be generated.  Maps often             
  2799. have only one region, typically zones from one geographic file displayed on     
  2800. the default viewpoint on the monitor.  Multiple regions, each with defined      
  2801. window and viewport provide many possibilities:                                 
  2802.                                                                                 
  2803. For example:                                                                    
  2804.                                                                                 
  2805.   . Display of different parts of a country (from different geographic          
  2806.     files) at the same time.                                                    
  2807.   . Display of a geographic area and a part extracted from it on the            
  2808.     same map.                                                                   
  2809.   . Display of overlays such as roads or retail sites on different parts of     
  2810.     a map.                                                                      
  2811.   . Changing the geographic areas that are currently displayed and moving       
  2812.     them on the screen.                                                         
  2813.   . Displaying adjacent geographic areas joined together.                       
  2814.                                                                                 
  2815. These options are for the geographically referenced features of a map. There    
  2816. is a different set of options for defining other features on a map such as      
  2817. text and legends that are simply positioned on the screen.                      
  2818.                                                                                 
  2819.                                                                                 
  2820. Definition of map regions is requested by selecting MAP REGIONS from            
  2821. the main map menu after a map has been displayed.                               
  2822.                                                                                 
  2823. A menu then appears of the following form:                                      
  2824.                                                                                 
  2825. CHANGE THE DISPLAYED ITEMS IN THE MAP                                           
  2826. CHANGE MAP REGION WINDOW (GEOGRAPHIC AREA)                                      
  2827. ZOOM MAP REGION WINDOW ABOUT X-HAIR POINT                                       
  2828. CHANGE MAP REGION VIEWPORT (SCREEN AREA)                                        
  2829. DEFINE NEW REGION FOR QUANTISED ZONES                                           
  2830. DISPLAY MORE QUANTISED ZONES ON A REGION                                        
  2831. DELETE QUANTISED ZONES FROM REGION                                              
  2832.                                                                                 
  2833. These few options enable comples layouts to be defined (sometimes with a lot    
  2834. of playing around). If a map is complex it is recommended that the map be       
  2835. saved often so you will not have to start from the beginning if a               
  2836. mistake is made.                                                                
  2837.  
  2838.                                                                       55
  2839.  
  2840.  13. 2 Regions                                           
  2841.        -------
  2842.  
  2843. A new map region is established when a geographic file is displayed.  The       
  2844. region is defined by the geographic window (or subset) and its displayed        
  2845. area (or viewport) on the monitor.                                              
  2846.                                                                                 
  2847. A standard map consists of one region. The window is the whole of the           
  2848. geographic file and the viewport is most of the screen.                         
  2849.                                                                                 
  2850. Other regions can be added to a map. A maximum of 10 map regions can be         
  2851. defined in a map. The option DEFINE NEW REGION FOR QUANTISED ZONES enables      
  2852. other geographic files to be added to the map, each on their own part           
  2853. of the screen, and to be coloured according to the attribute file values.       
  2854. For example, you may want to display a map of 5 counties, where you have 5      
  2855. geographic files (one for each county) and one attribute file that has          
  2856. the values you want to display. You start by displaying just one                
  2857. geographic file and then use this option to add and position the other          
  2858. four files. You will find that it takes some time to finalise the layout        
  2859. in this type of map.                                                            
  2860.                                                                                 
  2861. Regions are identified by number, being the order in which the regions are      
  2862. defined. A standard map has only region number one, and you do not have to      
  2863. specify the region number.                                                      
  2864. A geographic window is initially the total area of the geographic file          
  2865. (Files are subset as a data preparation process).  You can change the part      
  2866. of the geographic file that is displayed by selecting a new geographic          
  2867. extent via the options CHANGE MAP REGION WINDOW (GEOGRAPHIC AREA) or            
  2868. ZOOM MAP REGION WINDOW ABOUT X-HAIR POINT                                       
  2869.                                                                                 
  2870. A new viewport is selected by positioning the cursor on the monitor with        
  2871. the mouse or arrows (i.e. it is a rectangular part of the screen) via           
  2872. the option CHANGE MAP REGION VIEWPORT (SCREEN AREA)                             
  2873.                                                                                 
  2874. Polygon underlays, line, point and name overlays can be added to any map        
  2875. region. This process is the same as already described in the chapter on         
  2876. overlays except that the region number has to be given if there are more        
  2877. than one.                                                                       
  2878.                                                                                 
  2879. More than one geographic file can be displayed on a region according to the     
  2880. attribute data with DISPLAY MORE QUANTISED ZONES ON A REGION. For example       
  2881. you may want to display maps of two adjoining states. You start by displaying   
  2882. one of the geographic files for the attribute file in the standard way.         
  2883. You then add the second file to the same region (and adjust the viewport and    
  2884. window). The two states will neatly fit together (if the projection &           
  2885. coordinate system is the same).                                                 
  2886.                                                                                 
  2887. Geographic files are automatically windowed, scaled and clipped for             
  2888. display on map regions.                                                         
  2889.                                                                                 
  2890. When multiple files are displayed on a region, the precedure order is           
  2891. polygons, quantised zones, lines, sites, line overlays, markers and finally     
  2892. text at points.                                                                 
  2893.                                                                                 
  2894. Multiple regions can be defined anywhere on the map display area of             
  2895. the monitor.  However, if regions overlap the display procedure is              
  2896.  
  2897.                                                                       56
  2898. established by the order of definition.  Therefore the user should consider     
  2899. the order of display carefully in multiple region presentations.                
  2900.                                                                                 
  2901. Geographic files can be displayed  in any order, and regions can be defined     
  2902. and changed as desired.                                                         
  2903.                                                                                 
  2904. Many  of these operations destroy the data in the display system memory         
  2905. (the map display is corrupted) so:                                              
  2906. Select "Display map" from the Files menu.                                       
  2907.                                                                                 
  2908.  
  2909.  13. 3 Map List                                          
  2910.        --------
  2911.  
  2912. A list of displayed items (zones, lines and sites) is maintained by             
  2913. the system.                                                                     
  2914.                                                                                 
  2915. The list can be changed by selecting CHANGE THE DISPLAYED ITEMS IN THE MAP,     
  2916. which displays a menu of the form:                                              
  2917.                                                                                 
  2918. USE THE ITEMS IN A NAMES FILE                                                   
  2919. USE ITEMS IN THE CURRENT ATTRIBUTE FILE                                         
  2920. USE DISPLAYED ITEMS FROM RANGE OF CLASSES                                       
  2921. USE THE ITEMS THAT ARE QUANTISED                                                
  2922. EDIT THE DISPLAYED MAP ITEMS                                                    
  2923.                                                                                 
  2924.                                                                                 
  2925. The list is sorted into alphabetical order, and the items are                   
  2926. displayed using pixels corresponding to the position in the table (256          
  2927. colour mode).  This enables items to be selected with the cursor and            
  2928. identified.                                                                     
  2929.                                                                                 
  2930. A list of flags corresponding to the map list is also held.  The                
  2931. flags enable some of the displayed items to be dropped interactively.           
  2932.                                                                                 
  2933. The flags are usually set to items in the attribute files:                      
  2934.                                                                                 
  2935. The options are:                                                                
  2936.                                                                                 
  2937.       -  names in attribute file (single variate)                               
  2938.       -  common to two attribute files (bivariate)                              
  2939.       -  names in two attribute files (zones and lines or sites)                
  2940.       -  names for ranges of classes                                            
  2941.       -  names in quantisation lists                                            
  2942.                                                                                 
  2943. Items can be added or deleted by selecting them with the cursor or              
  2944. typing the name.                                                                
  2945.                                                                                 
  2946.  
  2947.  13. 4 Quantised Zones                                   
  2948.        ---------------
  2949.  
  2950. Up to 10 sets of zones files can be displayed on defined regions.               
  2951. Adjacent files will automatically join.  GKS clips the polygons to the          
  2952. edges of the region viewports.  Where regions overlap, the zones of the         
  2953. last one to be displayed will overwrite the displayed data underneath.          
  2954.                                                                                 
  2955. Zones that are not in the map list are not displayed.                           
  2956.  
  2957.                                                                       57
  2958.                                                                                 
  2959. When the system operates in fast interactive mode the zones are                 
  2960. displayed once and the colours changed for the quantisation results.  In        
  2961. polygon fill mode the zones are displayed every time attribute data are         
  2962. quantised using fill (colour, pattern or hatch) for the appropriate             
  2963. classes.                                                                        
  2964.                                                                                 
  2965. Note that OzGIS expects overwriting to occur.  Hence display of                 
  2966. polygons on top of others is not successful using hatching on plotters,         
  2967. so OzGIS handles polygons in a special way for this case.                       
  2968.  
  2969.  13. 5 Quantised lines                                   
  2970.        ---------------
  2971.  
  2972. Up to 10 sets of lines can be displayed on regions.  GKS clips lines            
  2973. to region viewports.                                                            
  2974.                                                                                 
  2975. Lines that are not in the map list are not displayed.                           
  2976.                                                                                 
  2977. Each file is assigned to a different line, and is displayed in that             
  2978. line colour.  Four different lines are available.  The results of the           
  2979. quantisation are displayed by using different line types.                       
  2980.                                                                                 
  2981. The attribute data can be quantised into up to four classes, so four            
  2982. line types are used.  The line files are assigned to the four available         
  2983. lines according to overall classification when they are defined (e.g.           
  2984. roads, railway tracks and rivers).                                              
  2985.  
  2986.  13. 6 Quantised sites                                   
  2987.        ---------------
  2988.  
  2989. Up to 10 files can be displayed on regions.                                     
  2990.                                                                                 
  2991. Sites that are not in the map list or are outside the region window             
  2992. are not displayed.                                                              
  2993.                                                                                 
  2994. Each file is assigned to a different marker and is displayed in that            
  2995. marker's colour and background colour.  Four different markers are              
  2996. available.  The results of the quantisation are displayed as different          
  2997. sized markers.  When operating in fast interactive mode, the markers are        
  2998. displayed in bit planes so they can be rapidly cleared.                         
  2999.                                                                                 
  3000. The attribute data can be quantised into up to four classes so four             
  3001. different marker sizes are used.  The files are assigned to the four            
  3002. available markers according to overall classification (e.g. owners of banks     
  3003. at the sites).                                                                  
  3004.  
  3005.  13. 7 Line Overlays                                     
  3006.        -------------
  3007.  
  3008. The segments from up to 10 geographic files can be displayed as                 
  3009. overlays on map regions.  Each file is assigned to a region and one of four     
  3010. available lines and is displayed as a solid line in that line's colour.         
  3011. GKS clips the lines to the region's viewport.                                   
  3012.  
  3013.                                                                       58
  3014.  
  3015.  13. 8 Polygon underlays                                 
  3016.        -----------------
  3017.  
  3018. The polygons from up to 10 geographic files can be displayed as                 
  3019. underlays on map regions.  Each file is assigned to a region and one of eight   
  3020. available polygon colours.                                                      
  3021.  
  3022.  13. 9 Marker Overlays                                   
  3023.        ---------------
  3024.  
  3025. The points from up to 10 geographic files can be used to display                
  3026. markers at points in regions.  Each file is assigned to a region and to one     
  3027. of four available markers.  Markers are not displayed for points outside        
  3028. the region's window.                                                            
  3029.  
  3030.  13.10 Name Overlays                                     
  3031.        -------------
  3032.  
  3033. The  points from up to 10 geographic files can be used to display               
  3034. names at points in regions.  Each site file is assigned to a region and to      
  3035. one of four available types of text.  Names are not displayed for points        
  3036. outside the region's window.                                                    
  3037.  
  3038.  13.11 Map Modification                                  
  3039.        ----------------
  3040.  
  3041. The window and viewport of a map region can be modified by selecting            
  3042. a new one with the cursors.                                                     
  3043.                                                                                 
  3044. Files displayed for quantisation can be deleted from regions, unless            
  3045. the only one of that type.                                                      
  3046.  
  3047.                                                                       59
  3048.                    14.  MAP ANALYSIS                                     
  3049.                        =============
  3050.  
  3051.                                                                                 
  3052.                                                                                 
  3053. This chapter describes how you can find out more about the attribute data       
  3054. displayed on a map.                                                             
  3055.                                                                                 
  3056.                                                                                 
  3057.                                                                                 
  3058.                                                                                 
  3059.  
  3060.  14. 1 Introduction                                      
  3061.        ------------
  3062.  
  3063. Selecting ANALYSE MAP DATA from the main map menu enables further analysis      
  3064. of a displayed map (with attribute data).                                       
  3065.                                                                                 
  3066. The following menu appears:                                                     
  3067.                                                                                 
  3068. INTERROGATE MAP DATA                                                            
  3069. GENERATE MAP REPORT ON FILE OZGIS.OUT                                           
  3070. DISPLAY ATTRIBUTE STATISTICS                                                    
  3071.                                                                                 
  3072.  
  3073.  14. 2 Map Reports                                       
  3074.        -----------
  3075.  
  3076.                                                                                 
  3077. An option is available to write a full map report (giving details of            
  3078. the displayed items, their attribute values and class numbers) on the file      
  3079. OZGIS.OUT                                                                       
  3080.                                                                                 
  3081.  
  3082.  14. 3 Attribute Data Statistics                         
  3083.        -------------------------
  3084.  
  3085.                                                                                 
  3086. The statistics of displayed attributes can be computed and displayed            
  3087. under user control.                                                             
  3088.                                                                                 
  3089. The following statistics are computed for a simple attribute:                   
  3090.                                                                                 
  3091.       -  minimum value                                                          
  3092.       -  maximum value                                                          
  3093.       -  mean value                                                             
  3094.       -  median value                                                           
  3095.       -  standard deviation                                                     
  3096.       -  skewness                                                               
  3097.       -  kurtosis                                                               
  3098.                                                                                 
  3099. For pairs of attributes (bi-variate displays) the above statistics              
  3100. are computed for each attribute, as well as                                     
  3101.                                                                                 
  3102.       -  correlation coefficient                                                
  3103. and   -  regression polynomial coefficients (to order 3).                       
  3104.                                                                                 
  3105.  
  3106.                                                                       60
  3107.  
  3108.  14. 4 Map Interrogation                                 
  3109.        -----------------
  3110.  
  3111.                                                                                 
  3112. When a map has been displayed, it is possible to interrogate the map            
  3113. data interactively.                                                             
  3114.                                                                                 
  3115. The actual menu depends on the type of map, but is of the form:                 
  3116.                                                                                 
  3117. LIST DATA FOR A CLASS RANGE                                                     
  3118. LIST DATA FOR NAMES TYPED AT TERMINAL                                           
  3119. LIST DATA FOR ITEMS IN A NAMES FILE                                             
  3120. LIST DISPLAYED SITES                                                            
  3121. LIST QUANTISATION SITES                                                         
  3122. LIST SITES WITHIN WINDOW SELECTED WITH BOX-CURSOR                               
  3123. LIST SITES WITHIN DIGITISED POLYGON                                             
  3124. LIST SITES WITHIN CIRCLE, TYPED IN RADIUS                                       
  3125. LIST SITES WITHIN CIRCLE, CURSOR SELECTED RADIUS                                
  3126.                                                                                 
  3127.                                                                                 
  3128. The details generated by interrogation are the names of the zones,              
  3129. lines or sites, the values of the displayed attributes (one value for           
  3130. single variate displays, and two for bivariate) and their assigned class        
  3131. number.                                                                         
  3132.                                                                                 
  3133. The map can also be interrogated for the textual information held in text       
  3134. attribute files. This enables non-numeric information to be accessed in the     
  3135. same way as the values in standard attribute files.                             
  3136.                                                                                 
  3137. The options for interrogation are:                                              
  3138.                                                                                 
  3139.    (a)  class number range                                                      
  3140.                                                                                 
  3141.         -  items (zones, lines or sites) within a specified range of class      
  3142.            numbers.                                                             
  3143.                                                                                 
  3144.    (b)  single item identification                                              
  3145.                                                                                 
  3146.         -  zone line or site selected by entering its name at the keyboard.     
  3147.                                                                                 
  3148.    (c)  set identification                                                      
  3149.                                                                                 
  3150.         -  items selected by a names file, items in map, or items in            
  3151.            quantisation lists.                                                  
  3152.    (d)  Lists                                                                   
  3153.                                                                                 
  3154.         -  The names of all the displayed items are held in one list.           
  3155.            Each attribute stream has an associated list of items that are       
  3156.            being quantised.                                                     
  3157.                                                                                 
  3158.    (e)  Interactive selection                                                   
  3159.                                                                                 
  3160.         -  The "box cursor" can be used to describe a rectangular region to     
  3161.            select items.  The selection of zones and lines is either by         
  3162.            all minimum bounding rectangles (MBR) of the items that fall         
  3163.            completely within the cursor window or MBRs that intersect           
  3164.  
  3165.                                                                       61
  3166.            the window.  Sites (and zone centroids) are selected by points       
  3167.            that lie inside the window.                                          
  3168.                                                                                 
  3169.         -  Map items can also be selected within a circle and for a digitised   
  3170.            simple polygon.                                                      
  3171.                                                                                 
  3172.                                                                                 
  3173. The list of items selected interactively is also output to a file QUERY.OUT     
  3174. for use either as a names file or for export to other systems.                  
  3175.  
  3176.                                                                       62
  3177.                    15. DATA PREPARATION                                  
  3178.                        ================
  3179.  
  3180.                                                                                 
  3181.                                                                                 
  3182.                                                                                 
  3183. This chapter describes options to prepare data for display and analysis.        
  3184.                                                                                 
  3185.                                                                                 
  3186.                                                                                 
  3187.                                                                                 
  3188.  
  3189.  15. 1 Introduction                                      
  3190.        ------------
  3191.  
  3192. The raw data are input to the system using IMPORT DATA FILES. However, the      
  3193. data often need further processing. Also, some data needed within the system    
  3194. cannot be specified as data files and need to be prepared.                      
  3195.                                                                                 
  3196. These facilities are provided by the PREPARE DATA FOR DISPLAY option in the     
  3197. top menu.                                                                       
  3198.                                                                                 
  3199. The main menu is of the form:                                                   
  3200.                                                                                 
  3201. PROCESS ATTRIBUTE FILES                                                         
  3202. PROCESS GEOGRAPHIC FILES                                                        
  3203. PROCESS NAMES FILES                                                             
  3204. OUTPUT EXTERNAL DATA FILES                                                      
  3205.                                                                                 
  3206.  
  3207.  15. 2 Attribute Files                                   
  3208.        ---------------
  3209.  
  3210.                                                                                 
  3211. The PROCESS ATTRIBUTE FILES menu is:                                            
  3212.                                                                                 
  3213. FORM ATTRIBUTES WITH ARITHMETIC EXPRESSIONS                                     
  3214. AMALGAMATE ATTRIBUTE DATA FOR AN COMBINE FILE                                   
  3215.                                                                                 
  3216.                                                                                 
  3217. A new attribute file can be generated from an attribute file and a              
  3218. combine file by selecting AMALGAMATE ATTRIBUTE DATA FOR AN COMBINE FILE.        
  3219.                                                                                 
  3220. The combine file defines new zones (or site catchments)                         
  3221. in terms of the names referenced by the attribute file.                         
  3222.                                                                                 
  3223. For example, you may define sales territories in terms of postal districts      
  3224. and put the definition in a combine file (manually or via OzTerr). You would    
  3225. then amalgamate both the geographic file of postal district boundaries and      
  3226. any attribute files based on postal boundaries to produce files for             
  3227. mapping.                                                                        
  3228.                                                                                 
  3229.                                                                                 
  3230.                                                                                 
  3231. Attributes can also be derived from existing attributes by applying             
  3232. arithmetic operations to the attribute values via FORM ATTRIBUTES WITH ARITHMETI
  3233.                                                                                 
  3234.  
  3235.                                                                       63
  3236. A common application is preprocessing Census data before display to form        
  3237. the desired attributes.                                                         
  3238.                                                                                 
  3239. Attributes are identified by the character # followed by a number,              
  3240. indicating the sequential position of the attribute on the input file           
  3241. e.g. #10 represents the tenth attribute).  An example of an expression          
  3242. to form a composite attribute is:                                               
  3243.                                                                                 
  3244.                  (#1+#2)/2 > 0 < 1000                                           
  3245.                                                                                 
  3246. This creates a new attribute whose values are half the sum of the values        
  3247. from the first and second attributes on the input file.  Any valid              
  3248. arithmetic expression is acceptable.  The output values are limited to          
  3249. the given range.                                                                
  3250.                                                                                 
  3251. Functions available are:-                                                       
  3252.                                                                                 
  3253.       LOG10  :  common logarithm                                                
  3254.       SQRT   :  square root                                                     
  3255.       ABS    :  absolute value                                                  
  3256.       EXP    :  exponential                                                     
  3257.       SIN    :  sine                                                            
  3258.       COS    :  cosine                                                          
  3259.                                                                                 
  3260. Functions removed from the PC version are:                                      
  3261.                                                                                 
  3262.       LOG    :  natural logarithm                                               
  3263.       AINT   :  truncation                                                      
  3264.       TAN    :  tangent                                                         
  3265.       ATAN   :  arc tangent                                                     
  3266.       SINH   :  hyperbolic sine                                                 
  3267.       COSH   :  hyperbolic cosine                                               
  3268.                                                                                 
  3269. Pi is referred to as PI.                                                        
  3270.                                                                                 
  3271. Operators are:                                                                  
  3272.                                                                                 
  3273.    +  addition                                                                  
  3274.    -  subtraction                                                               
  3275.    *  multiplication                                                            
  3276.    /  division                                                                  
  3277.    >  greater than or equal to                                                  
  3278.    <  less than or equal to                                                     
  3279.                                                                                 
  3280. Expressions are evaluated left to right and have a limit of 70                  
  3281. characters.  Parentheses should be used to ensure there are no                  
  3282. ambiguities.                                                                    
  3283.                                                                                 
  3284. The user must give a 30 character attribute description and 10 character        
  3285. units description for each new attribute that is generated.                     
  3286.                                                                                 
  3287.  
  3288.  15. 3 Geographic Files                                  
  3289.        ----------------
  3290.  
  3291. The menu is of the following form:                                              
  3292.                                                                                 
  3293. SUBSET FOR ZONES LIST                                                           
  3294.  
  3295.                                                                       64
  3296. SUBSET FOR LINES LIST                                                           
  3297. SUBSET FOR SITES LIST#                                                          
  3298. AMALGAMATE ZONES FOR A COMBINE FILE                                             
  3299. JOIN LINE SEGMENTS FOR POLYGONS                                                 
  3300. SIMPLIFY (THIN) LINE SEGMENTS                                                   
  3301.                                                                                 
  3302. Often the geographic region covered by a geographic file will be much larger    
  3303. than is required. Geographic files can be subset (windowed) on the basis of     
  3304. a list of required display items (zones, sites, lines).                         
  3305.       - items in a names file                                                   
  3306.       - items in an attribute file                                              
  3307.       - items within a window selected with the cursor from a displayed file    
  3308.                                                                                 
  3309. Line segments can be simplified to reduce the number of points that             
  3310. have to be processed.  This is used to speed up display where the               
  3311. resolution of the digitised data are higher that that needed for display        
  3312. terminals.                                                                      
  3313.                                                                                 
  3314. Line segments that form polygons can be joined together into long segments.     
  3315. Where many short segments are used this process, in conjunction with            
  3316. simplification, can sustantially reduce the disk storage required and speed     
  3317. processing.                                                                     
  3318.                                                                                 
  3319. The zones in a geographic file can be amalgamated according to a combine        
  3320. file to generate a new geographic file.  The new file contains the new          
  3321. zones.  The same combine file can be used to generate attribute data for        
  3322. the same new zones. For example, you may amalgamate basic Census zones into     
  3323. zones at a higher level or into sales territories.                              
  3324.  
  3325.  15. 4  Names Files                                      
  3326.        ------------
  3327.  
  3328. Names files give lists of items (zones, sites,lines) that are to be processed.  
  3329. These lists can be generated from other types of files. These options are       
  3330. particularly useful when the names files are to be modified.                    
  3331.                                                                                 
  3332. The menu is of the form:                                                        
  3333.                                                                                 
  3334. SAVE ATTRIBUTE FILE NAMES AS A NAMES FILE                                       
  3335. SAVE GEOGRAPHIC FILE ZONES AS A NAMES FILE                                      
  3336. SAVE GEOGRAPHIC FILE LINES AS A NAMES FILE                                      
  3337. SAVE GEOGRAPHIC FILE SITES AS A NAMES FILE                                      
  3338. EDIT A NAMES FILE                                                               
  3339.                                                                                 
  3340. For example, you may output the names from a Census attribute file to a         
  3341. names file, edit it with a word processor and the use it to subset a            
  3342. census boundary (geographic) file to produce the desired map region.            
  3343.                                                                                 
  3344.  
  3345.  15. 5  Output to Data Files                             
  3346.        ---------------------
  3347.  
  3348. Options are provided to output internal files as data files so they can be      
  3349. modified with word-processors for further processing.                           
  3350.                                                                                 
  3351. The menu is of the following form:                                              
  3352.                                                                                 
  3353. GENERATE ATTRIBUTE TEMPLATE DATA FILE                                           
  3354.  
  3355.                                                                       65
  3356. OUTPUT NAMES DATA FILE                                                          
  3357. OUTPUT ATTRIBUTE FILE IN SIMPLE (SAS) FORMAT                                    
  3358. OUTPUT COMBINE DATA FILE                                                        
  3359.                                                                                 
  3360. Names files can be editted to change the lists of items used for processing.    
  3361.                                                                                 
  3362. Attribute files can be output in simple database format.                        
  3363.                                                                                 
  3364. Combine files can be modified as part of the definition of territories and      
  3365. sites.                                                                          
  3366.                                                                                 
  3367. Attribute templates can be generated for preparation of attribute data with     
  3368. a word-processor. This is also useful for displaying new boundary data when     
  3369. you have no attribute file. The file can be input as a database                 
  3370. format attribute file.                                                          
  3371.  
  3372.  15. 6 Palette Files (Removed from system)               
  3373.        -----------------------------------
  3374.  
  3375. Palette files have been removed from the system until display systems with more 
  3376. than 256 colours are available.                                                 
  3377.                                                                                 
  3378. Palettes are generated by selecting colours for the elements of a               
  3379. palette shown on the screen.  The colours can be selected in the                
  3380. following ways:                                                                 
  3381.                                                                                 
  3382.       -  by entering blue, green and red values.                                
  3383.                                                                                 
  3384.       -  by reference to another palette                                        
  3385.                                                                                 
  3386.       -  by reference to a colour names file                                    
  3387.                                                                                 
  3388.       -  by reference to a colour cross-section displayed in the map area       
  3389.          of the screen.                                                         
  3390.                                                                                 
  3391. After colour selection, the palette can be saved as a file.                     
  3392.                                                                                 
  3393.    An existing palette file can be modified to produce a new file, by           
  3394.    displaying it and adding or deleting elements.                               
  3395.  
  3396.  15. 7 Colour Names Files  (Removed from system)         
  3397.        -----------------------------------------
  3398.  
  3399.    Colour names files are generated by typing in a name and then selecting      
  3400.    the corresponding colour in the ways described above for selecting           
  3401.    colours for palettes.  An existing colour names file can be modified.        
  3402.  
  3403.                                                                       66
  3404.                    16. BUILDING ZONES FROM SEGMENTS                      
  3405.                        ============================
  3406.  
  3407.                                                                                 
  3408.                                                                                 
  3409.                                                                                 
  3410. Geographic data, such as Census boundaries, are often supplied as lines which   
  3411. have to be connected to form polygons or complex lines.                         
  3412.                                                                                 
  3413. This chapter describes the BUILD TOPOLOGY option which carries out the          
  3414. building process and outlines common preprocessing of this type of data.        
  3415.                                                                                 
  3416.                                                                                 
  3417.                                                                                 
  3418.  
  3419.  16. 1 Use                                               
  3420.        ---
  3421.  
  3422. Zone boundary data can be supplied either as the complete set of points for the 
  3423. outsides of each polygon or as the line segments that make up the boundaries.   
  3424. Most segments will be common to two polygons so only about half the number of   
  3425. points are required. The segment form also allows zones to amalgamated into     
  3426. larger zones (by dropping internal segments) and to be thinned (by dropping     
  3427. excess points).                                                                 
  3428.                                                                                 
  3429. The segments form of data is preferred to polygon formats.                      
  3430.                                                                                 
  3431. The build process takes line segments and joins the ends together to form       
  3432. polygons. The names of the zones on each side of the segments are used to       
  3433. derive the zone names.                                                          
  3434.                                                                                 
  3435. Complex polygons are handled. Zones can be made up of many polygons, both       
  3436. disjoint polygons and polygons within polygons. The display order of the        
  3437. polygons are calculated so e.g islands within lakes within zones all appear.    
  3438.                                                                                 
  3439. Line segments can also be built into complex lines to which attribute data can  
  3440. be assigned.                                                                    
  3441.                                                                                 
  3442. It is usual to line simplify (thin) the segments before building as many        
  3443. digitised boundary files (e.g. census) are at a much higher resolution than     
  3444. require for the display. Joining of line segments and further thinning may      
  3445. follow.                                                                         
  3446.                                                                                 
  3447. If the message"TOO MANY POINTS IN POLYGON" appears you will have to line        
  3448. simplify your data.                                                             
  3449.                                                                                 
  3450. The building process can use a lot of disk space, effectively the product       
  3451. of the max number of polygons in a zone and the number of zones. Options        
  3452. are provided to help control this.                                              
  3453.                                                                                 
  3454. When the line segments were generated from spatial operations, arithmetic       
  3455. roundoff can produce slightly different endpoints. A tolerance factor can       
  3456. be given to help join faulty points. The tolerance is usually zero.             
  3457.  
  3458.                                                                       67
  3459.  
  3460.  16. 2 Faulty Digitised Data                             
  3461.        ---------------------
  3462.  
  3463. The algorithm assumes that the segments have been produced on a proper          
  3464. digitising system and are correct e.g. it is assumed that end-points meet and   
  3465. the segments do not cross. Problems such as repeated segments, missing segments 
  3466. etc may cause problems. Ensure you use the program with trace turned on. If     
  3467. necessary turn on debug and look at the OZGIS.OUT file.                         
  3468.                                                                                 
  3469. Use the file interrogation option to find the statistics on the geographic file 
  3470. e.g. the number of zones.                                                       
  3471.                                                                                 
  3472.                                                                                 
  3473. The top menu option PREPARE DATA                                                
  3474. FOR DISPLAY can be used to generate a prototype attribute file (simple format)  
  3475. from the zones in the geographics file and hence get some test data that can be 
  3476. entered via IMPORT DATA FILES to form an attribute file. Displaying both files  
  3477. via SIMPLE CENSUS-TYPE MAPPING will allow the file to be checked.               
  3478.                                                                                 
  3479.  
  3480.  16. 3 Example                                           
  3481.        -------
  3482.  
  3483. The procedure can be demonstrated with any of the geographic data files:        
  3484.                                                                                 
  3485. First input the geographic data file and give it a temporary name:              
  3486.                                                                                 
  3487. Use IMPORT DATA FILES from the top menu                                         
  3488. Select IMPORT GEOGRAPHIC FILES and then IMPORT A STANDARD FORMAT                
  3489. GEOGRAPHIC FILE. Use the test data file LOWE-G and give the new file name as    
  3490. TEMP1.                                                                          
  3491.                                                                                 
  3492. Next line simplify the line segments to drop points:                            
  3493.                                                                                 
  3494. Use PREPARE DATA FOR DISPLAY from the top menu                                  
  3495. Select PROCESS GEOGRAPHIC FILES and then SIMPLIFY (THIN) LINE                   
  3496. SEGMENTS. The input file is the one just entered i.e. TEMP1 and output the new  
  3497. one as TEMP2. Simplify according to the size of the final map on the screen     
  3498. e.g. give a value of 100 to throw away a lot of the data points e.g. if you     
  3499. have a super VGA at 1024 X 768 you could use 750.                               
  3500.                                                                                 
  3501. Now build the polygons structure from the lines.                                
  3502. Select BUILD TOPOLOGY FROM LINE SEGMENTS from the top menu                      
  3503.                                                                                 
  3504. The menu is:                                                                    
  3505.                                                                                 
  3506. BUILD ZONES FROM LINE SEGMENTS INTO NEW GEOGRAPHIC FILE                         
  3507. BUILD ZONES FROM LINE SEGMENTS INTO NEW DATA FILE                               
  3508. BUILD LINES FROM LINE SEGMENTS INTO NEW GEOGRAPHIC FILE                         
  3509. BUILD LINES FROM LINE SEGMENTS INTO NEW DATA FILE                               
  3510.                                                                                 
  3511. The usual option is BUILD ZONES FROM LINE SEGMENTS INTO NEW GEOGRAPHIC FILE.    
  3512.                                                                                 
  3513. Give the input geographic file as the simplified file TEMP2 and output it as    
  3514. TEMP3.                                                                          
  3515.                                                                                 
  3516.  
  3517.                                                                       68
  3518. Use the defaults for other questions.                                           
  3519. Finally display the result (attribute file LOWE1 and geographic file TEMP3)     
  3520. by using the INTERACTIVE DISPLAY AND ANALYSIS top menu option.                  
  3521.  
  3522.                                                                       69
  3523.                    17. WK1 INTERFACE TO OTHER SOFTWARE                   
  3524.                        ===============================
  3525.  
  3526.  
  3527.  17. 1 Introduction                                      
  3528.        ------------
  3529.  
  3530. The OzGIS system was designed to provide advanced mapping capablilities that    
  3531. could be interfaced to other systems such as:                                   
  3532.                                                                                 
  3533.  - Database systems for manipulation and retrieval of attribute data            
  3534.  - Systems for generation of map boundary data                                  
  3535.  - Statistical analysis systems with graphic display and reporting facilities   
  3536.  - Mapping systems with analysis and hardcopy facilities.                       
  3537.                                                                                 
  3538. The main software systems that are of value are spreadsheets and database       
  3539. systems for handling attribute and other data. These software systems (e.g.     
  3540. Lotus, Excel, MS access, Paradox) are easy to use and are growing in            
  3541. sophistication.                                                                 
  3542.                                                                                 
  3543. The OzGIS system interfaces to these systems via the Lotus WK1 file format.     
  3544.                                                                                 
  3545. Data must be held in a tabular format where the first column is ALWAYS the      
  3546. primary key and is the same as the map identifiers (and usually alphanumeric)   
  3547.                                                                                 
  3548. Other columns depend on the type of data.                                       
  3549.                                                                                 
  3550. WK1 format data can be imported into OzGIS via menu options in the data entry   
  3551. process and exported via options in the data preparation module.                
  3552.  
  3553.  17. 2 Attribute data                                    
  3554.        --------------
  3555.  
  3556. Data from spreadsheets can be both imported and exported in WK1 format.         
  3557.                                                                                 
  3558. The spreadsheet must be set up in a fixed format:                               
  3559.                                                                                 
  3560. The data values are in a matrix with the values for the zones (or sites or      
  3561. lines) in columns and the different attributes across in the rows.              
  3562. Values can be missing and can be integer or floating point.                     
  3563.                                                                                 
  3564. The first column must contain labels which are the 10 character zone (site etc) 
  3565. names, beginning at row 3. These must be SORTED in ascending order.             
  3566.                                                                                 
  3567. The top row contains labels that are the (up to) 30 character attribute         
  3568. descriptions starting at column 2.                                              
  3569.                                                                                 
  3570. The second row is the 10 character attribute descriptions.                      
  3571. This is recommended but does not have to be present as some systems (e.g. MS    
  3572. ACCESS) do not support the concept.                                             
  3573.                                                                                 
  3574. e.g. the file DEMO123.dat can be read into the spreadsheet. It should look      
  3575. like:                                                                           
  3576.                                                                                 
  3577.                  POPULATION GROWTH   SALES                                      
  3578.                  NUMBER              $                                          
  3579. ABBOTSFORD                 7418      237                                        
  3580.  
  3581.                                                                       70
  3582. BURWOOD E                  9925      955                                        
  3583. CONCORD                    8984      202                                        
  3584. CROYDON N                  9369      298                                        
  3585. CROYDON W                   735                                                 
  3586. FIVE DOCK                  9903      716                                        
  3587. HABERFIELD                           727                                        
  3588. HOMEBUSH                   6631      704                                        
  3589. HUDSONPARK                 4668       71                                        
  3590. MORTLAKE                   1725      198                                        
  3591. STRATHFIELD                6285      663                                        
  3592. YARALLA                    9875      516                                        
  3593.                                                                                 
  3594. For example, with Microsoft Excel for Windows, the test file can be read by     
  3595. choosing the option "Open" from the "File" menu and giving the test file as     
  3596. \OZDEMO\DEMO123.WK1. A spreadsheet in the above format can be output by         
  3597. selecting the "Save As" option from the "Files" menu and using the WK1 format   
  3598. option.                                                                         
  3599.  
  3600.  17. 3 Names Files (lists of names)                      
  3601.        ----------------------------
  3602.  
  3603. The first column of the spreadsheet can be output as a WK1 file and then        
  3604. imported into OzGIS as a names file to control the processing.                  
  3605.                                                                                 
  3606. A names file can be exported as a single column WK1 file and hence used to      
  3607. initialise a spreadsheet.                                                       
  3608.                                                                                 
  3609. Names can also be output from a geographic file, where the list is one of the   
  3610. zone names, line names or site names.                                           
  3611.  
  3612.  17. 4 Points                                            
  3613.        ------
  3614.  
  3615. Site names and their (X,Y) locations can be exported as WK1 files.              
  3616.                                                                                 
  3617. Points output from a spreadsheet can be input as a points geographic file. The  
  3618. columns must have names called exactly "X" and "Y". You can also assign         
  3619. positive numeric feature codes by a column called exactly "Feature Code". If    
  3620. the column is used, a feature code must exist for every point (use zero if not  
  3621. required).                                                                      
  3622.  
  3623.  17. 5 Territories and Catchments                        
  3624.        --------------------------
  3625.  
  3626. A combine file containing the definitions of either territories or site         
  3627. catchments can be exported from OzGISas a WK1 file. The column names are        
  3628. "Territory" and "Weight" (the first column is the zone name).                   
  3629.  
  3630.  17. 6 Addresses                                         
  3631.        ---------
  3632.  
  3633. You can export a column called "Address" as a WK1 file from a spreadsheet and   
  3634. import it into OzGIS for reformatting as a data file that can be used for       
  3635. geocoding.                                                                      
  3636.  
  3637.                                                                       71
  3638.                    18. MAP PROJECTIONS                                   
  3639.                        ===============
  3640.  
  3641.                                                                                 
  3642.                                                                                 
  3643.                                                                                 
  3644.                                                                                 
  3645.                                                                                 
  3646.                                                                                 
  3647.  
  3648.  18. 1 Introduction                                      
  3649.        ------------
  3650.  
  3651. The projection options will process a geographic file to form a new             
  3652. geographic file converting either from (Longitude,Latitude) to a projection     
  3653. or in the reverse direction.                                                    
  3654.                                                                                 
  3655. Often projections will not be of concern, as map data will be used as supplied. 
  3656. However, if data comes from several sources in different projections, the files 
  3657. may have to be converted to a common coordinate system.                         
  3658.                                                                                 
  3659. You will have to have a basic knowledge of the projection you want to use       
  3660. e.g. that AMG is UTM with the Australian Spheroid and a false origin            
  3661. (500000,10000000).                                                              
  3662.                                                                                 
  3663. The options are based on public domain software from USGS.                      
  3664.                                                                                 
  3665. Projections processing is initiated by selecting MAP PROJECTIONS from the top   
  3666. menu                                                                            
  3667. The main menu is:                                                               
  3668.                                                                                 
  3669. CHOOSE FROM PROJECTION SET 1                                                    
  3670. CHOOSE FROM PROJECTION SET 2                                                    
  3671. CHOOSE FROM SPHEROID SET 1                                                      
  3672. CHOOSE FROM SPHEROID SET 2                                                      
  3673. DEFINE NON-STANDARD UNIT                                                        
  3674. WRITE PROJECTION DEFINITION INTO GEOGRAPHIC FILE                                
  3675. TRANSFORM LAT / LONG FILE TO PROJECTION                                         
  3676. TRANSFORM PROJECTION FILE TO LAT / LONG                                         
  3677. DISPLAY PROJECTION PARAMETERS FOR GEOGRAPHIC FILE                               
  3678.                                                                                 
  3679.  
  3680.  18. 2 Precision                                         
  3681.        ---------
  3682.  
  3683. Vertices are stored in single precision in OzGIS (there is not enough memory on 
  3684. the PC to do anything else). This means an accuracy of seven digits, so some    
  3685. values may not be accurate e.g. UTM may be a few metres out.                    
  3686.  
  3687.  18. 3 Latitude / longitude                              
  3688.        --------------------
  3689.  
  3690. Latitude / longitude data must be given with units degrees.                     
  3691.                                                                                 
  3692. Latitudes are negative in the Southern hemisphere.                              
  3693.                                                                                 
  3694. Usual value ranges are:                                                         
  3695.  
  3696.                                                                       72
  3697. Longitude -180 to +180                                                          
  3698. Latitude  -90  to +90                                                           
  3699.                                                                                 
  3700. Note that the X value in data files is the longitude.                           
  3701.                                                                                 
  3702. examples: (-100.0,50.0) i.e. longitude -100, latitude 50                        
  3703.           (145.0, -42.0) a point in Tasmania                                    
  3704.  
  3705.  18. 4 Projections                                       
  3706.        -----------
  3707.  
  3708. Several projections are supported:                                              
  3709.                                                                                 
  3710. Albers Conical Egual Area                                                       
  3711. Azimuthal equidistant                                                           
  3712. Equidistant Conic                                                               
  3713. Equirectangular                                                                 
  3714. Gnomic                                                                          
  3715. Lambert Conformal Conic                                                         
  3716. Lambert Azimuthal Equal Area                                                    
  3717. Mercator                                                                        
  3718. Miller Cylindrical                                                              
  3719. Orthographic                                                                    
  3720. Polyconic                                                                       
  3721. Stereographic                                                                   
  3722. Transverse Mercator                                                             
  3723. Sinusoidal                                                                      
  3724. State Plane (USA) (NOT SUPPORTED YET)                                           
  3725. Universal Transverse Mercator                                                   
  3726. Van der Grinten                                                                 
  3727.  
  3728.  18. 5 Ellipsoids                                        
  3729.        ----------
  3730.  
  3731. Several spheroids are available. The default is either Clarke 1866 or the       
  3732. 6370997 metre sphere where a radius is asked for.                               
  3733.                                                                                 
  3734. MERIT 1983                                                                      
  3735. GRS 1980(IUGG, 1980)                                                            
  3736. IAU 1976                                                                        
  3737. Airy 1830                                                                       
  3738. Australian Natl, S. Amer., IAU 64                                               
  3739. GRS 67(IUGG 1967)                                                               
  3740. Bessel 1841                                                                     
  3741. Clarke 1866                                                                     
  3742. Clarke 1880 mod.                                                                
  3743. Everest 1830                                                                    
  3744. Hough                                                                           
  3745. International 1909 (Hayford)                                                    
  3746. Krassovsky, 1942                                                                
  3747. Mercury 1960                                                                    
  3748. Modified Airy                                                                   
  3749. Modified Everest                                                                
  3750. Modified Merc 1968                                                              
  3751. New International 1967                                                          
  3752. Southeast Asia                                                                  
  3753. Walbeck                                                                         
  3754. WGS 66                                                                          
  3755.  
  3756.                                                                       73
  3757. WGS 72                                                                          
  3758. Sphere of 6370997 m                                                             
  3759.  
  3760.  18. 6 Use                                               
  3761.        ---
  3762.  
  3763. The parameters of the projection are stored in the geographic file. When the    
  3764. data are first entered the projection is usually set to 'undefined', unless it  
  3765. is known e.g. Census boundary data are usually set to geographic (lat/long      
  3766. units degrees) by the data entry process.                                       
  3767.                                                                                 
  3768. The first operation is often to define the projection of a new geographic file  
  3769. and store the parameters in the file header. Hence you have to                  
  3770. choose the projection, spheroid if non-standard, and then the option            
  3771. WRITE PROJECTION DEFINITION INTO GEOGRAPHIC FILE.                               
  3772.                                                                                 
  3773. Transformation is to and from lat/long. Hence conversion from one projection to 
  3774. another has to take place in two steps.                                         
  3775.                                                                                 
  3776.  
  3777.  18. 7 Example                                           
  3778.        -------
  3779.  
  3780. Suppose you have entered a file that you know is UTM for zone                   
  3781. number 20 and you want to convert it to Lambert Conformal.                      
  3782.                                                                                 
  3783. Select CHOOSE FROM PROJECTION SET 1 from the main menu, and then                
  3784. select U.T.M. and give the zone number.                                         
  3785.                                                                                 
  3786. Then select WRITE PROJECTION DEFINITION INTO GEOGRAPHIC FILE and give           
  3787. the name of your file.                                                          
  3788.                                                                                 
  3789. Your file will now be defined as UTM by having the file header updated.         
  3790.                                                                                 
  3791. Now choose TRANSFORM PROJECTION FILE TO LAT / LONG and give the file names      
  3792. to generate a temporary file in latitude / longitude from your original file.   
  3793.                                                                                 
  3794. Then use CHOOSE FROM PROJECTION SET 1 again and choose LAMBERT CONFORMAL CONIC. 
  3795.                                                                                 
  3796. Then using TRANSFORM LAT / LONG FILE TO PROJECTION will give you the            
  3797. desired file in Lambert Conformal from the lat/long file to a new file.         
  3798.                                                                                 
  3799.  
  3800.                                                                       74
  3801.                    19. HARDCOPY MAP PRODUCTION                           
  3802.                        =======================
  3803.  
  3804.                                                                                 
  3805.                                                                                 
  3806. This chapter describes the OzMap program which allows maps to be output to      
  3807. printers, plotters and files.                                                   
  3808.                                                                                 
  3809.                                                                                 
  3810.                                                                                 
  3811.                                                                                 
  3812.  
  3813.  19. 1 Overview                                          
  3814.        --------
  3815.  
  3816. Maps are designed with the interactive OzGIS program and saved as Saved display 
  3817. files. These files are then read into the OzMap program and output on the       
  3818. desired device or file. Attributes and quantisation can be changed in the usual 
  3819. way to produce a series of maps.                                                
  3820.                                                                                 
  3821. Maps can also be printed directly via the File menu.                            
  3822.                                                                                 
  3823. Hardcopy map production is limited by the capabilities of the SCIPLOT package.  
  3824.                                                                                 
  3825. SciPlot produces many graphic file types:                                       
  3826.                                                                                 
  3827. The Postscript file is an ASCII file that may be edited or sent directly to any 
  3828. Postscript printer.                                                             
  3829.                                                                                 
  3830. The Encapsulated Postscript file (EPS) and the Computer Graphics Metafile (CGM),
  3831. an ANSI standard format file, are files that should not be edited for they      
  3832. contain binary information.  EPS and CGM files can be imported directly into    
  3833. wordprocessors or other graphical products.                                     
  3834.                                                                                 
  3835. The HP pen plotter file (HPGL) is an ASCII file that can be edited or imported  
  3836. into wordprocessors or other graphical products.                                
  3837.                                                                                 
  3838. The WordPerfect file (WPG) is a binary file in WordPerfect's internal graphics  
  3839. format.  WPG files are directly importable into the WordPerfect wordprocessor.  
  3840.                                                                                 
  3841. The SciPlot Graphics file is a file in SciPlot's own internal format and is     
  3842. used solely as input to the VECTOR program.  This file is a binary file in very 
  3843. compact format.  It contains the stream of vectors which represent the figures, 
  3844. characters, etc. generated during the execution of the application program.     
  3845. VECTOR processes this graphic file and arranges raw vectors in a direction of   
  3846. paper motion order before display on dot matrix printers and laserjet printers. 
  3847.                                                                                 
  3848. For Apple LaserWriters, HP pen plotters, and other graphics devices that        
  3849. support a vector drawing commands directly, ordering is not required and VECTOR 
  3850. immediately displays the vectors.                                               
  3851.                                                                                 
  3852. VECTOR's function is to provide a utility to register SciPlot's output on       
  3853. plotting devices (dot matrix and laserjet printers) which cannot be supported   
  3854. directly without requiring significant system resources.  VECTOR also provides  
  3855. interactive preview of graphics files on the screen or bath processing at some  
  3856. other time.                                                                     
  3857.  
  3858.                                                                       75
  3859.  
  3860.  19. 2 Procedure                                         
  3861.        ---------
  3862.  
  3863. The main menu is:                                                               
  3864.                                                                                 
  3865. CHANGE ATTRIBUTES                                                               
  3866. DEFINE QUANTISATION (CLASSES)                                                   
  3867. DISPLAY DEVICE CHARACTERISTICS                                                  
  3868. CHANGE DEVICE FILE                                                              
  3869. SELECT ANOTHER SAVED DISPLAY FILE                                               
  3870. CHANGE DISPLAY DEVICE                                                           
  3871.                                                                                 
  3872. You must provide the saved-display file name for a map that was prepared        
  3873. using OzGIS.                                                                    
  3874.                                                                                 
  3875. Select "Draw map" from the Files menu to display the map on the current device. 
  3876. Initially this is the printer, but you can use CHANGE DISPLAY DEVICE to send it 
  3877. e.g. to a file. The available devices are selected from the menu:               
  3878.                                                                                 
  3879. SCREEN                                                                          
  3880. PLOTTER METAFILE (for VECTOR program)                                           
  3881. PRINTER METAFILE (for VECTOR program)                                           
  3882. POSTSCRIPT ASCII FILE                                                           
  3883. ENCAPSULATED POSTSCRIPT FILE                                                    
  3884. HPGL FILE                                                                       
  3885. CGM METAFILE                                                                    
  3886. WORDPERFECT FILE                                                                
  3887. ONLINE APPLE LASER WRITE,                                                       
  3888. ONLINE PLOTTER                                                                  
  3889.                                                                                 
  3890. You can change attributes with CHANGE ATTRIBUTES option and can change the      
  3891. quantisation with DEFINE QUANTISATION (CLASSES). Thus you can work through      
  3892. a set of attributes in the usual way.                                           
  3893.                                                                                 
  3894. The option SELECT ANOTHER SAVED DISPLAY FILE enables other maps to be displayed.
  3895.  
  3896.  19. 3 Photographs                                       
  3897.        -----------
  3898.  
  3899. Colour slides can be successfully produced by photographing the screen.         
  3900.                                                                                 
  3901. The room has to be dark and any lights on the PC covered. Watch for reflections 
  3902. around the edge of the screen (blacken around the screen).                      
  3903.                                                                                 
  3904. You will have to experiment. Initially bracket exposures.                       
  3905.                                                                                 
  3906. Lenses with long focal lengths reduce the curvature of the screen.              
  3907.                                                                                 
  3908. An initial setting is:                                                          
  3909.                                                                                 
  3910. 250mm lens                                                                      
  3911. 200 ISO film                                                                    
  3912. f/8 at 1 second                                                                 
  3913.  
  3914.                                                                       76
  3915.  
  3916.  19. 4 OzMap Device files                                
  3917.        ------------------
  3918.  
  3919. Several device files are provided to control the appearence of maps on output   
  3920. devices. These device files can also be used with OzGIS (they will need minor   
  3921. modification for use with EGAs).                                                
  3922.                                                                                 
  3923. You have to use device files that use hatching for polygon fill. The            
  3924. configuration section explains the files available. Generally you need to use   
  3925. hatching device files that have the same resolution as that used in OzGIS or    
  3926. aspects and character sizes may not be suitable.                                
  3927.                                                                                 
  3928. HATCHSV1   - provides polygon display using hatching.                           
  3929. HATCHBV1   - hatching for bivariate maps.                                       
  3930. CSIMSV* and CSIMBV* - a series of device files that use the red, green and blue 
  3931. plotter pens (or screen colours) to simulate the colour sequences; look at then 
  3932. on the screen first to decide which ones to try.                                
  3933.                                                                                 
  3934. The hatching device files can of course be modified to define other hatching    
  3935. patterns.                                                                       
  3936.                                                                                 
  3937. The options DISPLAY DEVICE CHARACTERISTICS and CHANGE DEVICE FILE can be        
  3938. used to investigate the various device files.                                   
  3939.                                                                                 
  3940.  
  3941.  19. 5 VECTOR Program                                    
  3942.        --------------
  3943.  
  3944.                                                                                 
  3945. This program enables metafiles produced in the OzMap program to be output to a  
  3946. variety of devices and files with such options as rotation and scaling.         
  3947.                                                                                 
  3948. Its easier to use than read about!!                                             
  3949.                                                                                 
  3950.                                                                                 
  3951. VECTOR has two modes of operation, an interactive mode and a batch mode.        
  3952. The batch mode processes command strings from a disk file.  The user can        
  3953. include the command filename with the VECTOR command (eg. VECTOR                
  3954. command.fil).  Alternatively, the user can wait until VECTOR issues a           
  3955. prompt for the type of interaction desired.  The format of the command          
  3956. file and a description of the VECTOR.CFG file follows:                          
  3957.                                                                                 
  3958. VECTOR[d:][path][filename[.ext]] [/U]                                           
  3959.                                                                                 
  3960. [d:][path][filename[.ext]] [/U] - Process file which contains                   
  3961. filenames of graphics files to be processed in batch mode.  These               
  3962. files will be processed one at a time and plotted on the designated             
  3963. printer, plotter, or graphics crt device.  As a default, the                    
  3964. VECTOR.CFG file will be searched for a process filename.  When a                
  3965. filename is specified on the VECTOR command line, the process                   
  3966. filename given in VECTOR.CFG file is totally ignored and replaced by            
  3967. this new filename.                                                              
  3968.                                                                                 
  3969. /U - This update option is used to override all parameters specified            
  3970. in the VECTOR.CFG file. The option initiates an interactive dialog              
  3971. with the user to obtain a new set of parameters for VECTOR. The user            
  3972.  
  3973.                                                                       77
  3974. is given the opportunity at the end of the dialog to update the                 
  3975. current VECTOR.CFG file with these new parameters.                              
  3976.                                                                                 
  3977. VECTOR.CFG Configuration File.                                                  
  3978.                                                                                 
  3979. The VECTOR.CFG configuration file contains a list of commands that              
  3980. define VECTOR processing parameters. Each time VECTOR executes, it              
  3981. reads and interprets this file. If the VECTOR.CFG file cannot be                
  3982. located, VECTOR will interact with the user from the terminal to set            
  3983. up these parameters.                                                            
  3984.                                                                                 
  3985. Format of Configuration File Commands:                                          
  3986.                                                                                 
  3987. Cmd    Option        Description                                                
  3988.                                                                                 
  3989. FILE   =CONS         -Get graphics filenames from console.                      
  3990.        =[d:][path][filename[.ext]]- Use this file as a process file             
  3991. containing graphics filenames.                                                  
  3992.                                                                                 
  3993. DEVICE =DOT          -Dot Matrix Printer                                        
  3994.        =PEN          -HP Pen Plotter                                            
  3995.        =JET          -HP LaserJet Printer                                       
  3996.        =WRITER       -Apple LaserWriter Printer                                 
  3997.        =CGA          -CGA Color Screen                                          
  3998.        =EGA          -EGA Color Screen                                          
  3999.        =VGA          -VGA Color Screen                                          
  4000.        =HGA          -Hercules Monochrome Screen                                
  4001.                                                                                 
  4002. PORT   =COM1         -Printer/Plotter on Primary Serial Port                    
  4003.        =COM2         -Printer/Plotter on Secondary Serial Port                  
  4004.        =LPT1         -Printer/Plotter on Primary Parallel Port                  
  4005.        =LPT2         -Printer/Plotter on Secondary Parallel Port                
  4006.                                                                                 
  4007. ANGL   =XXX.XX       -Rotation Angle (degrees)                                  
  4008. XSCL   =XXX.XX       -X-Axis Scale Factor                                       
  4009. YSCL   =XXX.XX       -Y-Axis Scale Factor                                       
  4010. XOFS   =XXX.XX       -X-Axis Offset (inches)                                    
  4011. YOFS   =XXX.XX       -Y-Axis Offset (inches) <<<<<< e.g. 5.0 for printer        
  4012.                                                                                 
  4013. WAIT   =ON           -Wait between Plot Frames                                  
  4014.        =OFF          -Do not wait between Plot Frames                           
  4015.                                                                                 
  4016. [When serial port is used for printer/plotter device, following                 
  4017. commands are valid]:                                                            
  4018.                                                                                 
  4019. HAND   =SOFT         -Software Handshake (XON/XOFF)                             
  4020.        =HARD         -Hardware flow control on DSR line                         
  4021.                                                                                 
  4022. MODE   =195          -Serial Port Mode Set Code, specified in                   
  4023. decimal format. 195 = (9600 baud, no parity,                                    
  4024. 1 stop bit, 8 bit characters)                                                   
  4025.                                                                                 
  4026. - Mode Set Code Description -    [bits]                                         
  4027.                                                                                 
  4028. 7     6    5  4     3       2          1       0                                
  4029. --Baud Rate-- -Parity-   -Stop Bits-  -Char Length-                             
  4030. 000 -  110   00 - None 0  -    1      10  - 7 Bits                              
  4031. 001 -  300   01 - Odd  1  -    2      11  - 8 Bits                              
  4032.  
  4033.                                                                       78
  4034. 010 -  600   11 - Even                                                          
  4035. 011 - 1200                                                                      
  4036. 100 - 2400                                                                      
  4037. 101 - 4800                                                                      
  4038. 110 - 9600                                                                      
  4039. 111 -19200                                                                      
  4040.                                                                                 
  4041. [When dot matrix printer is used, following commands are valid]:                
  4042.                                                                                 
  4043. PINS   =9           -EPSON (MX-80,FX-80,FX-85,FX-850...)                        
  4044.        =24          -RPDON (LQ-800)                                             
  4045.                                                                                 
  4046. HRES   =HIGH        -High Horizontal Resolution                                 
  4047.        =LOW         -Low Horizontal                                             
  4048.                                                                                 
  4049. VRES   =HIGH         -High Vertical Resolution                                  
  4050.        =LOW          -Low Vertical Resolution                                   
  4051.                                                                                 
  4052. - Printer Resolution Table -                                                    
  4053.                                                                                 
  4054. Printer  Resolution   Vertical  Horizontal                                      
  4055. 9-Pin     LOW           72         120                                          
  4056. 9-Pin     HIGH          216         240*                                        
  4057. 24-Pin     LOW          180         180                                         
  4058. 24-Pin    HIGH          180         360                                         
  4059. * 240 dot per inch resolution is not available on MX-80.                        
  4060.                                                                                 
  4061. [When HP Pen plotter is used, following plotter initialization                  
  4062. command is valid]:                                                              
  4063.                                                                                 
  4064. INIT   =ON           -Send handshake init sequence before plotting              
  4065.        =OFF          -No handshake init sequence required                       
  4066.                                                                                 
  4067. When a process file is specified, VECTOR will process multiple graphics         
  4068. files in a batch mode. For the individual graphics file, VECTOR processes       
  4069. one plot frame at a time, for each file may contain more than one plot          
  4070. frame.  For dot matrix and HP LaserJet printers, VECTOR first sorts all         
  4071. the vector records in a minimum Y order for one plot frame.  This sorting       
  4072. is accomplished by creating an in-memory linked list directory of the           
  4073. disk records for the frame.  VECTOR accesses the graphics file randomly,        
  4074. bringing in only those records that contain vectors in the current              
  4075. process window. These print devices restrict the processing to a paper          
  4076. movement order. For HP Pen Plotters, Apple LaserWriters, and crt                
  4077. displays, VECTOR can process the vectors directly without any sorting for       
  4078. these devices support vector drawing commands.                                  
  4079.                                                                                 
  4080. An inherent difficulty in this sort of processing approach is the limit         
  4081. imposed by the processor's memory size. There is an upper bound on the          
  4082. size of the graphics plot that can be handled because the linked list           
  4083. directory as well as a limited set of the vectors must be memory                
  4084. resident.  The exact size limit is difficult to predict because it is a         
  4085. function of the number of records in the file, the density of vectors per       
  4086. processing window, and the amount of lengthy vectors that must be               
  4087. remembered over many processing windows.  The VECTOR.OBJ file on the            
  4088. distribution diskette supports 64KB of directory sort space.  If this is        
  4089. not enough, a VECTOR.LRG file is included which supports 256KB of               
  4090. directory sort space.  Please note that the use of the VECTOR.LRG object        
  4091. file will significantly increase the size of the VECTOR.EXE file.               
  4092.  
  4093.                                                                       79
  4094.                                                                                 
  4095. Features                                                                        
  4096.                                                                                 
  4097. The features incorporated in VECTOR are numerous.  Multiple plot frame          
  4098. processing is automatic.  A graphics vector file may be accessed from any       
  4099. disk.  Normal FORTRAN I/O is used to read the 128 byte binary records by        
  4100. the direct access method.  The VECTOR program will respond to a                 
  4101. control-C/Break at any time during execution.  This will terminate the          
  4102. current processing task, reset the printer to the top of form, and              
  4103. request another task.  Statistics for each plot frame, as well as total         
  4104. run statistics are displayed during the execution of VECTOR. For the dot        
  4105. matrix type graphics printer, four basic resolutions are provided by            
  4106. VECTOR depending on the type of printer attached.  A low resolution mode        
  4107. is supported to quickly review the plot with very limited definition.           
  4108. This mode is useful for quick turn-around. The high resolution mode takes       
  4109. much more time because of hardware constraints, but gives very                  
  4110. satisfactory results.  VECTOR also has an on-screen preview capability          
  4111. which allows quick identification of graphics files.                            
  4112.                                                                                 
  4113. Error Conditions:                                                               
  4114.                                                                                 
  4115. During the execution of VECTOR, several error messages might be displayed       
  4116. on the terminal.  The only message that is not serious has to do with a         
  4117. premature termination of the programs that produced the graphics output         
  4118. file. The message reads "Premature End-of-File at Record XXXX". It just         
  4119. means that the graphics file was not terminated properly, but all the           
  4120. graphics data is valid.                                                         
  4121.                                                                                 
  4122. The second class of messages is serious and should not be ignored. The          
  4123. messages are listed along with reasons.                                         
  4124.                                                                                 
  4125. "Error reading graphics file" - means that FORTRAN I/O was unable to read       
  4126. the graphics file. The file should be recreated on another disk to              
  4127. correct the error condition.                                                    
  4128.                                                                                 
  4129. "File not in graphics format" - means that the speacified file is not in        
  4130. SciPlot graphics format. Check to see if the filename is correct or was         
  4131. produced by a current version of SciPlot.                                       
  4132.                                                                                 
  4133. "Graphics file too large for memory" - means that the graphics file             
  4134. specified cannot be processed by VEACTOR due to inadequate memory sort          
  4135. space.                                                                          
  4136.                                                                                 
  4137. "Too many vectors for memory" - means that number of vectors per                
  4138. processing window is too dense. Try using the VECTOR.LRG object deck to         
  4139. generate the VECTOR.EXE command file.                                           
  4140.                                                                                 
  4141.                                                                                 
  4142. The VECTOR program supports IBM Graphics, IBM ProPrinters, EPSON MX-80,         
  4143. FX-80 with GRAFTRAXPLUS, FX-85, FX-850, LQ-800 dot matrix printers              
  4144. connected on an 8-bit parallel I/O interface.  All 8 bits are necessary         
  4145. to register the full resolution of the graphics printers.  The resolution       
  4146. obtained is a plot frame of (960,1920,2880) pixels over 8 inches in the         
  4147. horizontal direction by (1800,2160) pixels over 10 inches in the vertical       
  4148. direction. The feature of positioning (1/216th, 1/180th) of an inch is          
  4149. used, giving a basic resolution of (120,240,360) by (180,216) pixels per        
  4150. inch over a unit square of one inch on a side.  The IBM                         
  4151. Graphics/ProPrinter, and the EPSON FX-80,85,850 printers have twice the         
  4152.  
  4153.                                                                       80
  4154. resolution as that of the EPSON MX-80.  The hardware requires double            
  4155. passes to absolutely register two dots in adjacent columns for this high        
  4156. resolution mode.  This is the reason for the lengthy processing time in         
  4157. this mode.                                                                      
  4158.                                                                                 
  4159. There is no paper positioning done by VECTOR. Therefore, the user must          
  4160. position the paper before executing the VECTOR program.  This is done           
  4161. purposefully to allow plots to be manually positioned.  It is possible to       
  4162. imbed plots in full text with a careful alignment of the paper.                 
  4163.                                                                                 
  4164. The HP Pen Plotter, the HP LaserJet, and the Apple LaserWriter are all          
  4165. supported by VEACTOR to register the graphics files produced by SciPlot.        
  4166.                                                                                 
  4167.  
  4168.  19. 6 OzMap Example                                     
  4169.        -------------
  4170.  
  4171. You can prepare and print a series of maps as follows:                          
  4172.                                                                                 
  4173. You start by displaying a map with OzGIS and adding any text etc. When it is    
  4174. ready you save the map. There are two options for saved displays; either can be 
  4175. used but when saved for hardcopy output the screen is not saved so takes less   
  4176. disk space.                                                                     
  4177.                                                                                 
  4178. The OzMap program is then started.                                              
  4179.                                                                                 
  4180. The name of the saved map file is given and a HARDCOPY! device file chosen.     
  4181. Use the default one initially.                                                  
  4182.                                                                                 
  4183. Select "Display map" from the files menu.                                       
  4184.                                                                                 
  4185. Now select CHANGE DISPLAY DEVICE                                                
  4186.                                                                                 
  4187. choose the printer metafile via PRINTER METAFILE (for VECTOR program)           
  4188.                                                                                 
  4189. Use "Display Map" to output the map to the file; give the file name e.g. phred. 
  4190.                                                                                 
  4191. Quit.                                                                           
  4192.                                                                                 
  4193. Type VECTOR to execute the program.                                             
  4194.                                                                                 
  4195. Accept all default values (dot matrix printers) and give the Graphics file as   
  4196. phred.hrd (note the file extension).                                            
  4197.                                                                                 
  4198. The map will be printed.                                                        
  4199.  
  4200.  19. 7 Fitting Maps on the Page                          
  4201.        ------------------------
  4202.  
  4203. If you find that maps printed on-line are not appearing neatly on the           
  4204. page you should output maps as meta-files and use the VECTOR program            
  4205. to print / plot them.                                                           
  4206.                                                                                 
  4207. The developers, MicroGlyph Systems, have supplied the following:                
  4208.                                                                                 
  4209.      The Apple LaserWriter and the HP Pen Plotters (7440, 7470,7475,7550) all   
  4210. require special attention. In order to  register a plot frame correctly, it is  
  4211. necessary to use proper offsets and axes dimensions. The Apple LaserWriter must 
  4212.  
  4213.                                                                       81
  4214. have at least a .25 inch left margin and a .5 inch bottom margin reserved. The H
  4215. Pen Plotters all have different basic plot  frame parameters.                   
  4216.                                                                                 
  4217.      Two tables have been prepared which will allow the user to have a portrait 
  4218. layout or a landscape layout for plot frames. The ANGLE and XTRANS/YTRANS       
  4219. arguments will be used from these two tables to obtain the  desired layout for  
  4220. plotting. The x-axis and y-axis lengths from  the tables serve as limits to the 
  4221. plot area. The DEMO.FOR program  reflects the use of the PORTRAIT layout        
  4222. parameters from the tables. If VECTOR is used to register a graphics file (which
  4223. has been  produced by using VECDEV=10) for any device other than an EPSON  dot  
  4224. matrix printer, then the correct layout parameters for that  destination device 
  4225. must be used to guarantee correct registration.  The following tables contain   
  4226. the correct parameters for Portrait  or Landscape layouts:                      
  4227.                                                                                 
  4228.                                                                                 
  4229.                                                                                 
  4230.                     Portrait Layout Parameters                                  
  4231.                                                                                 
  4232.                                                                                 
  4233.  -------------------------------------------------------------------            
  4234. | Device   Device      Paper  ANGLE X-Axis   Y-Axis XTRANS  YTRANS  |           
  4235. | Code     Type        Size   Degs  Length   Length Offset  Offset  |           
  4236.  -------------------------------------------------------------------            
  4237.     10     Epson,HPLJ 8.5x11   0.0   8.0     10.0     0.0     0.0               
  4238.     11,20  Apple LW   8.5x11   0.0   8.0     10.0     0.25    0.50              
  4239.     12     EPS File   8.5x11   0.0   8.0     10.0     0.0     0.0               
  4240.     13,21  HP-7470A    US/A   90.0   7.497   10.094  10.094   0.0               
  4241.     13,21  HP-7470A   MET/A4  90.0   7.497   10.682  10.682   0.0               
  4242.     13,21  HP-7475A    US/A   90.0   7.803   10.158  10.158   0.0               
  4243.     13,21  HP-7475A    US/B   90.0  10.158   16.306  16.306   0.0               
  4244.     13,21  HP-7475A   MET/A4  90.0   7.566   10.818  10.818   0.0               
  4245.     13,21  HP-7475A   MET/A3  90.0  10.818   15.834  15.834   0.0               
  4246.     13,21  HP-7550A    US/A   90.0   7.683    9.966   9.966   0.0               
  4247.     13,21  HP-7550A    US/B   90.0   9.966   16.121  16.121   0.0               
  4248.     13,21  HP-7550A   MET/A4  90.0   7.447   10.652  10.652   0.0               
  4249.     13,21  HP-7550A   MET/A3  90.0  10.652   15.649  15.649   0.0               
  4250.     14     CGM File   8.5x11   0.0   8.0     10.0     0.0     0.0               
  4251.     15     WPG File   8.5x11   0.0   8.0     10.0     0.0     0.0               
  4252.                                                                                 
  4253.                                                                                 
  4254.                     Landscape Layout Parameters                                 
  4255.                                                                                 
  4256.                                                                                 
  4257.  -------------------------------------------------------------------            
  4258. | Device   Device      Paper  ANGLE X-Axis   Y-Axis XTRANS  YTRANS  |           
  4259. | Code     Type        Size   Degs  Length   Length Offset  Offset  |           
  4260.  -------------------------------------------------------------------            
  4261.     10     Epson,HPLJ 8.5x11  90.0   10.0     8.0     8.0     0.0               
  4262.     11,20  Apple LW   8.5x11  90.0   10.0     8.0     8.25    0.50              
  4263.     12     EPS File   8.5x11  90.0   10.0     8.0     8.0     0.0               
  4264.     13,21  HP-7470A    US/A    0.0  10.094    7.497   0.0     0.0               
  4265.     13,21  HP-7470A   MET/A4   0.0  10.682    7.497   0.0     0.0               
  4266.     13,21  HP-7475A    US/A    0.0  10.158    7.803   0.0     0.0               
  4267.     13,21  HP-7475A    US/B    0.0  16.306   10.158   0.0     0.0               
  4268.     13,21  HP-7475A   MET/A4   0.0  10.818    7.566   0.0     0.0               
  4269.     13,21  HP-7475A   MET/A3   0.0  15.834   10.818   0.0     0.0               
  4270.     13,21  HP-7550A    US/A    0.0   9.966    7.683   0.0     0.0               
  4271.     13,21  HP-7550A    US/B    0.0  16.121    9.966   0.0     0.0               
  4272.  
  4273.                                                                       82
  4274.     13,21  HP-7550A   MET/A4   0.0  10.652    7.447   0.0     0.0               
  4275.     13,21  HP-7550A   MET/A3   0.0  15.649   10.652   0.0     0.0               
  4276.     14     CGM File   8.5x11  90.0   10.0     8.0     8.0     0.0               
  4277.     15     WPG File   8.5x11  90.0   10.0     8.0     8.0     0.0               
  4278.                                                                                 
  4279.                                                                                 
  4280.  
  4281.                                                                       83
  4282.                    20. TERRITORY DEFINITION                              
  4283.                        ====================
  4284.  
  4285.                                                                                 
  4286.                                                                                 
  4287. This chapter describes the facilities that can be used to define                
  4288. territories in terms of zones (polygons) in some displayed base map.            
  4289.                                                                                 
  4290.                                                                                 
  4291.                                                                                 
  4292.                                                                                 
  4293.                                                                                 
  4294. Usually territories are to be developed from base zones according to some       
  4295. criterion;  e.g. Sales territories should all have similar sales potential;     
  4296. e.g. School districts should have similar numbers of children.                  
  4297.                                                                                 
  4298. The operations are as follows.                                                  
  4299.                                                                                 
  4300.      A base map is displayed:  Usually this will be a standard geographic       
  4301.      file (e.g. Melbourne postcodes).  Basic OzGIS facilities are used          
  4302.      to subset files if non-standard regions are required.                      
  4303.                                                                                 
  4304.      Specification of territories:  Each territory has a unique 10              
  4305.      character name.  Zones are assigned off the screen with the cursor.        
  4306.      Zones can be moved between territories and deleted.  Territories can       
  4307.      be defined or deleted at any time.                                         
  4308.                                                                                 
  4309.      Specification of a base-map attribute file:  Territory attributes are      
  4310.      continually calculated by adding the values for the base zones in each     
  4311.      territory.  The derived values are quantised (usually sequential           
  4312.      colour 121 class method), the territories coloured, and a legend and       
  4313.      histogram of sorted values displayed. There can be no missing data.        
  4314.                                                                                 
  4315.      Zones can be shuffled according to the displayed territories attribute     
  4316.      values to meet the assignment criteria  while watching the legend          
  4317.      and histogram.                                                             
  4318.                                                                                 
  4319.      When territory assignment is complete, the definition is output as a       
  4320.      combine file.                                                              
  4321.                                                                                 
  4322. First choose the New pulldown menu:                                             
  4323.                                                                                 
  4324. START NEW SET OF TERRITORIES INTERACTIVELY                                      
  4325. START NEW SET OF TERRITORIES FROM COMBINE FILE                                  
  4326.                                                                                 
  4327. This gives the choice of starting a new set of territories by selecting         
  4328. regions with the box-cursor, or reading in a pre-defined set of territories off 
  4329. a combine file that is probably the result of a previous run of OzTerr.         
  4330.                                                                                 
  4331. The Define menu is used to specify the zones in each territory                  
  4332.                                                                                 
  4333. DISPLAY TERRITORY NAMES                                                         
  4334. DEFINE NEW TERRITORY                                                            
  4335. DELETE A TERRITORY                                                              
  4336. ADD ZONES SELECTED WITH BOX-CURSOR TO A TERRITORY                               
  4337. ADD A ZONE SELECTED WITH CURSOR TO A TERRITORY                                  
  4338. DELETE ZONES SELECTED WITH BOX-CURSOR FROM A TERRITORY                          
  4339.  
  4340.                                                                       84
  4341. DELETE A ZONE SELECTED WITH CURSOR FROM A TERRITORY                             
  4342. CHANGE BASE ZONE ATTRIBUTES                                                     
  4343. CHANGE THE QUANTISATION METHOD                                                  
  4344. OVERLAY MARKERS FOR SITES IN GEOGRAPHIC FILE                                    
  4345. OVERLAY NAMES FOR SITES IN GEOGRAPHIC FILE                                      
  4346. OVERLAY LINE SEGMENTS FROM A GEOGRAPHIC FILE                                    
  4347. OUTPUT TERRITORY NAMES AS GEOGRAPHIC FILE                                       
  4348. OUTPUT TERRITORIES AS COMBINE FILE                                              
  4349.                                                                                 
  4350. Select "Display map" from the files menu.                                       
  4351.                                                                                 
  4352. You define territories using the options:                                       
  4353.                                                                                 
  4354. DISPLAY TERRITORY NAMES                                                         
  4355. DEFINE NEW TERRITORY                                                            
  4356. DELETE A TERRITORY                                                              
  4357.                                                                                 
  4358.                                                                                 
  4359. Usually you are trying to balance territories e.g. you may display an           
  4360. attribute that is number of customers and the try to give each salesman         
  4361. a territory with about the same number of customers. To  do this you            
  4362. define the correct number of territories making a guess at their size           
  4363. and then shuffle the zones between the territories while monitoring             
  4364. the results by using "Display Map" to display the map. The options relevant to  
  4365. modifying territories are:                                                      
  4366.                                                                                 
  4367. ADD ZONES SELECTED WITH BOX-CURSOR TO A TERRITORY                               
  4368. ADD A ZONE SELECTED WITH CURSOR TO A TERRITORY                                  
  4369. DELETE ZONES SELECTED WITH BOX-CURSOR FROM A TERRITORY                          
  4370. DELETE A ZONE SELECTED WITH CURSOR FROM A TERRITORY                             
  4371.                                                                                 
  4372. You can add overlays to the displayed map to provide "navigation" with:         
  4373.                                                                                 
  4374. OVERLAY MARKERS FOR SITES IN GEOGRAPHIC FILE                                    
  4375. OVERLAY NAMES FOR SITES IN GEOGRAPHIC FILE                                      
  4376. OVERLAY LINE SEGMENTS FROM A GEOGRAPHIC FILE                                    
  4377.                                                                                 
  4378.                                                                                 
  4379. Finally the territory definitions can be output to a combine file that can be   
  4380. used to amalgamate the base zones and related attributes (see data preparation) 
  4381. to get a geographic and attribute file for mapping by using the option OUTPUT   
  4382. TERRITORIES AS COMBINE FILE.                                                    
  4383.                                                                                 
  4384. You should have line segments data for amalgamation. If you started with        
  4385. polygon data, the polygons will simply be renamed during the amalgamation       
  4386. process.                                                                        
  4387.                                                                                 
  4388.                                                                                 
  4389. You can also output a points geographic file that can be used as an overlay     
  4390. to label the territories on a map by using                                      
  4391. OUTPUT TERRITORY NAMES AS GEOGRAPHIC FILE.                                      
  4392.                                                                                 
  4393.  
  4394.                                                                       85
  4395.                    21. ADDRESS MATCHING / GEOCODING                      
  4396.                        ============================
  4397.  
  4398.                                                                                 
  4399.                                                                                 
  4400.                                                                                 
  4401. Address matching enables location data to be mapped where the locations are     
  4402. specified as addresses.                                                         
  4403.                                                                                 
  4404. The address matching software is under development. The first version is        
  4405. available in this release.                                                      
  4406.                                                                                 
  4407.                                                                                 
  4408.                                                                                 
  4409.  
  4410.  21. 1 Introduction                                      
  4411.        ------------
  4412.  
  4413. Many organisations have data which are spatially referenced by addresses, such  
  4414. as customer databases.                                                          
  4415.                                                                                 
  4416. These data can be shown on a zones map by accumulating the data within each     
  4417. postal district and displaying the results using digitised postal district      
  4418. boundaries. Examples are total number of customers and average sales amount.    
  4419.                                                                                 
  4420. Digital data are now becoming available that contain address information e.g.   
  4421. the US Census TIGER data. These data enable the locations of the attribute data 
  4422. to be extracted as points and maps produced with or without related attribute   
  4423. data.                                                                           
  4424.                                                                                 
  4425. The OzGIS system allows digitised road data and their associated addresses to   
  4426. be processed. Sets of addresses can be processed to produce geographic files of 
  4427. point locations. These point files can then be displayed in the usual ways,     
  4428. either as symbols or names as map overlays or as sites sized according to       
  4429. some attribute data.                                                            
  4430.                                                                                 
  4431. For example, a bank may want to extract points using the addresses of           
  4432. some customers and then map the average monthly account balances.               
  4433.  
  4434.  21. 2 Addresses                                         
  4435.        ---------
  4436.  
  4437. An address is made up of three parts, a number, a name and a postal code.       
  4438. Examples are:                                                                   
  4439.                                                                                 
  4440. 123 Main Street 654321                                                          
  4441. Hyde Park                                                                       
  4442. 12 Funny Farm Drive, Hicksville 2601                                            
  4443.                                                                                 
  4444. 1. The number is a simple integer. Common variations such as 22A, 5-6, 5/66 etc 
  4445. are not supported. If a number is not given the point will be placed in the     
  4446. centre of the geographic feature.                                               
  4447.                                                                                 
  4448. 2. The name must be given, and is the main part of the address for matching.    
  4449.                                                                                 
  4450. 3. The postal district is an integer number that helps processing in cases      
  4451. where the same address name is used in different districts. It need not be      
  4452.  
  4453.                                                                       86
  4454. given.                                                                          
  4455.                                                                                 
  4456.  
  4457.  21. 3 Data entry                                        
  4458.        ----------
  4459.  
  4460. Lines data can be entered with the normal process. Addresses are supported for  
  4461. TIGER data and data in standard form. Other formats will be supported according 
  4462. to availability of data and demand.                                             
  4463.                                                                                 
  4464. Only line data is supported as that is what is currently available. Typically   
  4465. the data will be roads.                                                         
  4466.                                                                                 
  4467. Two ranges of street numbers will usually be associated with a road, a set of   
  4468. odd numbers down one side and even numbers down the other e.g. a digitised line 
  4469. segment may have road name "Hollywood Boulevarde" and number ranges 111 to 179  
  4470. and 120 to 220.                                                                 
  4471.                                                                                 
  4472. A road may also have one range (e.g. 1 to 200) or no range may be given.        
  4473.                                                                                 
  4474. The order of the road numbers defines the direction of the road. The direction  
  4475. does not have to be the same for the odd and even numbers. If two ranges are    
  4476. given and one is not odd and the other even, a single range is derived from the 
  4477. limits, but the direction must be the same as defined by the two ranges.        
  4478.                                                                                 
  4479.  
  4480.  21. 4 Address Matching                                  
  4481.        ----------------
  4482.  
  4483. An option is provided in the data preparation process to match addresses in a   
  4484. data file with those in the digitised line data in a geographic file.           
  4485.                                                                                 
  4486. The major difficulty is the matching of the road names allowing for differences 
  4487. in spelling.                                                                    
  4488.                                                                                 
  4489. After a match is found, the number in the given address is used to find the     
  4490. distance along the road (using the ranges) and hence a location is calculated.  
  4491.                                                                                 
  4492. The set of addresses are given on a data file that has the following:           
  4493.                                                                                 
  4494. 1. An identifier that can be used to attach attribute data to the point and     
  4495. which can be used as a label on maps. If no identifier is given the road name   
  4496. will be used. This identifier would often be a database primary key.            
  4497.                                                                                 
  4498. 2. The road number. If not given the generated point will be the centre of the  
  4499. road.                                                                           
  4500.                                                                                 
  4501. 3. The road name. Mandatory.                                                    
  4502.                                                                                 
  4503. 4. The post (zip) code. Optional.                                               
  4504.                                                                                 
  4505. A geographic file of points is generated. Any addresses that cannot be matched  
  4506. are listed on the OZGIS.OUT file.                                               
  4507.                                                                                 
  4508.  
  4509.                                                                       87
  4510.  
  4511.  21. 5 Matching Addresses                                
  4512.        ------------------
  4513.  
  4514.                                                                                 
  4515. Matching takes place on upper case characters i.e. case is not significant e.g. 
  4516. "Main St" and MAIN st" match.                                                   
  4517.                                                                                 
  4518. Multiple blanks are removed e.g. "Grand Parade" matches "Grand      Parade".    
  4519.                                                                                 
  4520. A parameter file is used to convert parts of the names. This is commonly used   
  4521. to handle abbreviations e.g. ROAD and RD.                                       
  4522.                                                                                 
  4523. Matching is controlled by a level:                                              
  4524.                                                                                 
  4525. Level 1. Every character in the names in the geographic and data files must be  
  4526. the same e.g. "PHREDS ROAD" and PHRED ROAD" are not the same.                   
  4527.                                                                                 
  4528. Level 2. Every character of the shorter name must match the other e.g. "phred"  
  4529. would match the above two strings.                                              
  4530.                                                                                 
  4531. Level 3. The first word in each name must match e.g.  "Bloggs Street" and       
  4532. "Bloggs Ave" match.                                                             
  4533.                                                                                 
  4534. Level 4. Matching is carried out by using derived names e.g. vowels are all     
  4535. treated the same, repeated letters are removed, non alphabetic characters are   
  4536. all the same.                                                                   
  4537.                                                                                 
  4538. Level 5. Matching uses the "soundex" algorithm                                  
  4539.                                                                                 
  4540.                                                                                 
  4541.  
  4542.  21. 6 Procedure                                         
  4543.        ---------
  4544.  
  4545. Address matching is an option in the data preparation process.                  
  4546.                                                                                 
  4547. Select PREPARE DATA FOR DISPLAY from the top menu, which gives the menu:        
  4548.                                                                                 
  4549. TUTORIALS & SYSTEM INFORMATION                                                  
  4550. PROCESS GEOGRAPHIC FILES                                                        
  4551. PROCESS ATTRIBUTES FILES                                                        
  4552. PROCESS NAMES FILES                                                             
  4553. OUTPUT EXTERNAL DATA FILES                                                      
  4554. ADDRESS MATCHING                                                                
  4555. CHANGE DEVICE FILE                                                              
  4556.                                                                                 
  4557. So you choose ADDRESS MATCHING, which displays the menu:                        
  4558.                                                                                 
  4559. EXACT MATCHING FOR POINTS OVERLAYS                                              
  4560. MATCH FOR START OF ADDRESS FOR POINTS OVERLAYS                                  
  4561. MATCH FOR FIRST WORD OF ADDRESS FOR POINTS OVERLAYS                             
  4562. DESPERATION MATCHING FOR POINTS OVERLAYS                                        
  4563. EXACT MATCHING FOR SITE MAPPING                                                 
  4564. MATCH FOR START OF ADDRESS FOR SITES MAPPING                                    
  4565. MATCH FOR FIRST WORD OF ADDRESS FOR SITES MAPPING                               
  4566. DESPERATION MATCHING FOR SITES MAPPING                                          
  4567.  
  4568.                                                                       88
  4569.                                                                                 
  4570. These options correspond to the 4 matching levels for either point overlays     
  4571. or site mapping.                                                                
  4572.                                                                                 
  4573. You have to specify a number of files:                                          
  4574.                                                                                 
  4575. 1. the geographic file that contains the roads and the road names and address   
  4576. limits                                                                          
  4577.                                                                                 
  4578. 2. Your data file containing the addresses to be matched                        
  4579.                                                                                 
  4580. 3. A parameter file of abbreviations to help the matching process e.g. AVE is   
  4581. defined as the abbreviation for Avenue                                          
  4582.                                                                                 
  4583. 4. the name of the geographic file to be generated with the points location     
  4584.                                                                                 
  4585. After you have generated the points geographic file you should check the        
  4586. file OZGIS.OUT to see how well the addresses were matched. You may then want    
  4587. to change some of the addresses in the data file to improve the hit rate.       
  4588.                                                                                 
  4589. You can now map the data with the OzGIS program. This is covered in other       
  4590. chapters, but briefly:                                                          
  4591.                                                                                 
  4592. DISPLAY GEOGRAPHIC FILES (NO ATTRIBUTES) is used to display the points as       
  4593. symbols.                                                                        
  4594.                                                                                 
  4595. You would probably then use DEFINE GEOGRAPHIC OVERLAYS and add your roads file  
  4596. as a lines overlay and also overlay the names of the points.                    
  4597.                                                                                 
  4598. DISPLAY SITES FOR AN ATTRIBUTE FILE would be used if you have attribute data    
  4599. for the points. You would probably add the roads as a lines overlay and the     
  4600. identifiers as a names overlay.                                                 
  4601.                                                                                 
  4602. DISPLAY ZONES AND SITES FOR TWO ATTRIBUTE FILES could also be used if you       
  4603. want to display other data such as Census data as a zones map underneath        
  4604. the points with their attribute data.                                           
  4605.                                                                                 
  4606. The points could of course be added as overlays to any map.                     
  4607.  
  4608.  21. 7 Data                                              
  4609.        ----
  4610.  
  4611. You specify the addresses you want to match in a data files with fixed format   
  4612. records:                                                                        
  4613.                                                                                 
  4614. 10 bytes  Identifier. If blank the road name is used (first 10 bytes)           
  4615.                                                                                 
  4616. 50 bytes  Address                                                               
  4617.                                                                                 
  4618. For example, the demonstration file DEMOMTCH.DAT looks like:                    
  4619.                                                                                 
  4620. EXAMPLE ADDRESSES FOR MATCHING - DEMOMTCH.DAT                                   
  4621. ADDRESS001         1 GReat north road 2600                                      
  4622.                  666 GReat north road 2600                                      
  4623. JOE BLOGGS       333 GReat north road 2600                                      
  4624. ADDRESS004               GReat north road 2600                                  
  4625.             333 GReat north road                                                
  4626. PIZZA KING      GReat north road                                                
  4627.  
  4628.                                                                       89
  4629. ADDRESS007  333 GReat              2600                                         
  4630. HARRY S     333 GReat north rd     2600                                         
  4631. ADDRESS009  333 GReet narth read   2600                                         
  4632. ADDRESS011  666 GReat    north     road   2600                                  
  4633. ADDRESS012  666 Molonglo Gorge     2600                                         
  4634. ADDRESS013               Molonglo Gorge                                         
  4635.                   11 Northbourne Ave 2602                                       
  4636. ADDRESS015 44 Northbourne Ave    2600                                           
  4637. ADDRESS016 10 Northbourne Ave    2600                                           
  4638. ADDRESS017 68 Northbourne Ave    2600                                           
  4639. ADDRESS018 57 Northbourne Ave    2600                                           
  4640. ADDRESS01940 EPPING HWY                                                         
  4641. ADDRESS020 33 EPPING HWY                                                        
  4642.                                                                                 
  4643.  
  4644.  21. 8 Abbreviations parameter file                      
  4645.        ----------------------------
  4646.  
  4647. A parameter file must be given to allow for abbreviations such as ST, AVE, RD   
  4648.                                                                                 
  4649. A sample file from the USA Census TIGER documentaion is provided \OZGIS\USA.PRM 
  4650.                                                                                 
  4651. You should set up your own abbreviation file. The shorter it is, the faster will
  4652. be the matching process.                                                        
  4653.                                                                                 
  4654. The first record of the file is a comment, and each following record is:        
  4655.                                                                                 
  4656. 30 bytes text                                                                   
  4657. 10 bytes  abbreviation                                                          
  4658.                                                                                 
  4659.                                                                                 
  4660. The file must be in upper case, and the abbreviation must be shorter than the   
  4661. text string.                                                                    
  4662.                                                                                 
  4663. The demonstration file is DEMOMTCH.PRM:                                         
  4664.                                                                                 
  4665. Address matching parameter file DEMOMTCH.PRM                                    
  4666. AVENUE                        AVE                                               
  4667. BOULEVARD                     BLVD                                              
  4668. CIRCLE                        CIR                                               
  4669. DRIVE                         DR                                                
  4670. FREEWAY                       FWY                                               
  4671. HIGHWAY                       HWY                                               
  4672. MOTORWAY                      MTWY                                              
  4673. PARKWAY                       PKY                                               
  4674. PLACE                         PL                                                
  4675. ROAD                          RD                                                
  4676. STREET                        ST                                                
  4677.                                                                                 
  4678.                                                                                 
  4679.                                                                                 
  4680.  
  4681.  21. 9 Handling Errors                                   
  4682.        ---------------
  4683.  
  4684. The results of the matching process are written to the log file OZGIS.OUT       
  4685.                                                                                 
  4686. Each data record is listed with either "MATCHED", "DUPLICATE" or "REJECTED".    
  4687.  
  4688.                                                                       90
  4689. When the names match both the data and geographic file  addresses are listed as 
  4690. well as the level of the match.                                                 
  4691.                                                                                 
  4692. The output will be of the form:                                                 
  4693.                                                                                 
  4694.                                                                                 
  4695.  ======= ADDRESS MATCHING AT LEVEL 4 ======                                     
  4696.                                                                                 
  4697.                                                                                 
  4698. GEOGRAPHIC FILE demoaddr                                                        
  4699. ADDRESSES  FILE demomtch                                                        
  4700. PARAMETER  FILE demomtch                                                        
  4701.                                                                                 
  4702. MATCHED          333     GReat north road   2600                                
  4703. MATCHED          666     GReat    north     road             2600               
  4704. NO MATCH         666     Molonglo Gorge     2600                                
  4705. NO MATCH          68     Northbourne Ave    2600                                
  4706. MATCHED           11      EPPING HWY                            0               
  4707. MATCHED           33            EPPING HWY                      0               
  4708. NO MATCH          33     EPXXING HWY                            0               
  4709.                                                                                 
  4710.  
  4711.                                                                       91
  4712.                    22. SPATIAL OPERATIONS                                
  4713.                        ==================
  4714.  
  4715.                                                                                 
  4716.                                                                                 
  4717.                                                                                 
  4718. This chapter describes the facilities that enable a new geographic              
  4719. file to be generated that is the result of spatial operations such as union     
  4720. and intersection between the spatial objects in two input geographic files.     
  4721.                                                                                 
  4722. The options have not been fully tested.                                         
  4723.                                                                                 
  4724.                                                                                 
  4725.                                                                                 
  4726.  
  4727.  22. 1 Operations                                        
  4728.        ----------
  4729.  
  4730.                                                                                 
  4731. The operations take place between the objects in two input geographic files,    
  4732. with the resultant objects being output to a new geographic file.               
  4733.                                                                                 
  4734. The following operations are supported:                                         
  4735.                                                                                 
  4736. . Intersection of points with polygons                                          
  4737.                                                                                 
  4738.   For example, extract all sightings (points) of the wedgetail eagle within     
  4739.   vegetation type 100 (polygons)                                                
  4740.                                                                                 
  4741.   For example extract all retail sites within competitor's store catchments     
  4742.   (polygons).                                                                   
  4743.                                                                                 
  4744.   This is a point-in-polygon operation i.e. the points in one file that lie     
  4745.   inside any of the polygons in the second file are selected.                   
  4746.                                                                                 
  4747. . Intersection of lines with polygons                                           
  4748.                                                                                 
  4749.   For example, select all roads that are within the franchise area. (then match 
  4750.   addresses)                                                                    
  4751.                                                                                 
  4752.   This is a crossing operation i.e. the parts of any lines that cross (are      
  4753.   inside of) the polygons in the other file are output.                         
  4754.                                                                                 
  4755. . Intersection of polygons with polygons                                        
  4756.                                                                                 
  4757.   For example, Extract polygons that have soil types (feature codes) 500 to 600 
  4758.   and forest trees feature codes 77 to 88                                       
  4759.                                                                                 
  4760.   For example, Extract Census districts within the digitised areas covered by   
  4761.   all hospitals.                                                                
  4762.                                                                                 
  4763.   The polygons that are the overlapped parts of any pairs of polygons from      
  4764.   the two files are output (an AND operation)                                   
  4765.                                                                                 
  4766. . Union of polygons with polygons.                                              
  4767.                                                                                 
  4768.   For example, Extract polygons that have soil types  500 to 600  or            
  4769.  
  4770.                                                                       92
  4771.   forest trees feature codes 77 to 88                                           
  4772.                                                                                 
  4773.   Pairs of polygons from the two input files that overlap are merged to         
  4774.   form new polygons. Those that do not overlay are output as is.                
  4775.                                                                                 
  4776. . Buffer generation                                                             
  4777.                                                                                 
  4778.   Generation of buffers at a given distance around spatial objects may be       
  4779. supported in future releases.                                                   
  4780.                                                                                 
  4781.                                                                                 
  4782.                                                                                 
  4783.                                                                                 
  4784. Two levels of polygons will be supported:                                       
  4785.                                                                                 
  4786. 1. Simple polygons                                                              
  4787.                                                                                 
  4788. Single polygons are processed. There is no regard for polygons inside other     
  4789. polygons. Polygons with the names OUTSIDE or INSIDE are ignored.                
  4790.                                                                                 
  4791. This will often be all that is required.                                        
  4792.                                                                                 
  4793. These data can have been entered into the system as one                         
  4794. of the polygonal formats supported (SAS, Atlas etc).                            
  4795.                                                                                 
  4796. 2. Complex polygons NOT IMPLEMENTED YET                                         
  4797.                                                                                 
  4798. This handles zones which are made up of any mixture of polygons, some of        
  4799. which can be inside others to a considerable depth.                             
  4800.                                                                                 
  4801.                                                                                 
  4802. The results of the polygon processing is a file of line segments that can be    
  4803. built into polygons with the zone/polygon building process.                     
  4804.                                                                                 
  4805.  
  4806.  22. 2 Feature codes                                     
  4807.        -------------
  4808.  
  4809. Processing can take place for a range of feature codes or the whole of the      
  4810. files can be processed.                                                         
  4811.                                                                                 
  4812. A new feature code must be specified for the generated objects. Optionally the  
  4813. existing feature codes for both files of objects can be added as well.          
  4814.                                                                                 
  4815.  
  4816.  22. 3 Procedure                                         
  4817.        ---------
  4818.  
  4819. When the SPATIAL OPERATIONS item is selected from the top menu the following    
  4820. menu appears:                                                                   
  4821.                                                                                 
  4822. INTERSECT POINTS (SECONDARY) WITH SIMPLE POLYGONS (PRIMARY)                     
  4823. INTERSECT LINES (SECONDARY) WITH SIMPLE POLYGONS (PRIMARY)                      
  4824. INTERSECT SIMPLE POLYGONS  WITH SIMPLE POLYGONS                                 
  4825. UNION OF SIMPLE POLYGONS  WITH SIMPLE POLYGONS                                  
  4826. INTERSECT POINTS  WITH SIMPLE POLYGONS FOR FEATURE CODES                        
  4827. INTERSECT LINES  WITH SIMPLE POLYGONS FOR FEATURE CODES                         
  4828. INTERSECT POLYGONS  WITH SIMPLE POLYGONS FOR FEATURE CODES                      
  4829.  
  4830.                                                                       93
  4831. UNION OF POLYGONS  WITH SIMPLE POLYGONS FOR FEATURE CODES                       
  4832.                                                                                 
  4833. You select the appropriate option. You can either process all the geographic    
  4834. data or subset it for a feature code range.                                     
  4835.                                                                                 
  4836. Then you have to give the names of the two input geographic files. As indicated 
  4837. by the menu items, the primary geographic file is always a file of polygons     
  4838. while the secodary geographic file is the points or line segments or polygons.  
  4839.                                                                                 
  4840. You also have to give a name for the geographic file that will be generated.    
  4841.                                                                                 
  4842. You always have to provide a feature code (a positive number) for the           
  4843. generated objects, and can optionally have the feature codes from the           
  4844. intersected (or unioned) pairs of objects included in the new objects.          
  4845.                                                                                 
  4846. Polygons are not directly generated. If you intersect or form the union of      
  4847. polygons with polygons the output is line segments which then have to be        
  4848. built into polygons with the zone/polygon building process.                     
  4849.                                                                                 
  4850.                                                                                 
  4851.  
  4852.                                                                       94
  4853.                    23. SITE LOCATION / ALLOCATION                        
  4854.                        ==========================
  4855.  
  4856.                                                                                 
  4857.                                                                                 
  4858. Algorithms are provided to aid in site selection for applications such as       
  4859. the siting of new schools, shopping centres or fast-food outlets.               
  4860.                                                                                 
  4861. The facilities are based on ILACS (Interactive Location Allocation in           
  4862. Continuous Space) by Mike Goodchild.                                            
  4863.                                                                                 
  4864. Available for WINDOWS, not for DOS.                                             
  4865.                                                                                 
  4866.                                                                                 
  4867.  
  4868.  23. 1 Introduction                                      
  4869.        ------------
  4870.  
  4871.                                                                                 
  4872. The selection of a site for some service has two parts:                         
  4873.                                                                                 
  4874. 1. Location of the site.                                                        
  4875.                                                                                 
  4876. 2. Allocation of the data points to the site.                                   
  4877.                                                                                 
  4878. The data are a set of point locations and attribute data giving the "demand" at 
  4879. each point.                                                                     
  4880.                                                                                 
  4881.  
  4882.  23. 2 Example                                           
  4883.        -------
  4884.  
  4885.                                                                                 
  4886. Suppose there are three breweries in Australia and you want to know a good      
  4887. place to build another one.                                                     
  4888.                                                                                 
  4889. Select "Location Allocation" from the "Applications" menu.                      
  4890.                                                                                 
  4891. Give the geographic file name as OZ and the attribute file as OZ.               
  4892.                                                                                 
  4893. Choose an appropriate attribute - obviously "Beer consumption"                  
  4894.                                                                                 
  4895. Give a name for the generated geographic file, say BREWERY                      
  4896.                                                                                 
  4897. A solution will be displayed.                                                   
  4898.                                                                                 
  4899. Now select "Give site a name" from the "Sites" menu and give the fourth site the
  4900. name NEW BREWERY                                                                
  4901.                                                                                 
  4902. Now for each of the existing sites (SITE001 to SITE003) choose "Digitise fixed  
  4903. location for a site" and choose a location with the mouse.                      
  4904.                                                                                 
  4905. You have now specified the locations of the three existing breweries and fixed  
  4906. them at those locations. The new brewery site is still mobile.                  
  4907.                                                                                 
  4908. Finally use one of the algorithms from the "Algorithm" menu to generate a       
  4909. solution.                                                                       
  4910.  
  4911.                                                                       95
  4912.                                                                                 
  4913.  
  4914.  23. 3 Solutions                                         
  4915.        ---------
  4916.  
  4917.                                                                                 
  4918. There can be up to 5 current solutions, referred to by number. Each provides    
  4919. storage for a complete solution, giving the locations, optional capacities and  
  4920. mobilities of each of the sites                                                 
  4921.                                                                                 
  4922. There is always a current solution (initially number one).                      
  4923.                                                                                 
  4924. The contents of each solution are intially zero, so each site is located at     
  4925. (0,0) with zero capacity and is free to move.                                   
  4926.                                                                                 
  4927. The Alternating and Tornqvist algoriths take the contents of the current        
  4928. solution and place the generated optimum solution into a new, specified current 
  4929. solution.                                                                       
  4930.                                                                                 
  4931.  
  4932.  23. 4 Sites                                             
  4933.        -----
  4934.  
  4935.                                                                                 
  4936. The storage available for the mattrix of site/demand points is limited, and     
  4937. large numbers of demand points allow smaller numbers of sites to be allocated.  
  4938.                                                                                 
  4939. Sites are referred to by name. These are initially SITE001, SITE002 etc, but    
  4940. they can be renamed.                                                            
  4941.                                                                                 
  4942. Sites can be mobile or fixed during optimisation; many situations have existing 
  4943. fixed sites and are allocating some new facilities. e.g. the schools in a city  
  4944. may be investigated with the view of keeping most, building a few new ones, and 
  4945. closing some down.                                                              
  4946.                                                                                 
  4947. Site locations can be set to random locations within the map area or to a       
  4948. random sample of the data points.                                               
  4949.                                                                                 
  4950. The capacities of the sites can be initialised by dividing the total demand     
  4951. equally among them.                                                             
  4952.                                                                                 
  4953. Sites can be located with the cursor / mouse.                                   
  4954.                                                                                 
  4955.  
  4956.  23. 5 Geographic Data                                   
  4957.        ---------------
  4958.  
  4959.                                                                                 
  4960. A geographic points file gives a set of locations from which the demand is      
  4961. considered to come. Typically the points will be thye centroids of Census       
  4962. polygons. The points are displayed as symbols and any line segments (typically  
  4963. the boundaries of Census district polygons) will also be displayed.             
  4964.                                                                                 
  4965. Points should have unique names, but the case of multiple polygons within       
  4966. Census districts (and hence the same name) are handled by dividing the          
  4967. attribute value equally between them.                                           
  4968.                                                                                 
  4969.  
  4970.                                                                       96
  4971.  
  4972.  23. 6 Attribute data                                    
  4973.        --------------
  4974.  
  4975.                                                                                 
  4976. The attribute file gives the demand at the point locations.                     
  4977.                                                                                 
  4978. The data are typically demographic data such as Census data.                    
  4979.                                                                                 
  4980. The data depend on the application and will often be prepared by applying       
  4981. arithmetic operations to basic attribute data.                                  
  4982.                                                                                 
  4983. In some cases the data are obvious e.g. Census data giving the total population 
  4984. in the age group 11 to 17 years may be used when siting high schools.           
  4985.                                                                                 
  4986. Other cases may be more complicated and models developed by statistical         
  4987. analysis of other data e.g. an attribute for siting a maternity hospital may be 
  4988. 20% of women aged 17 to 25 years, 25% of women aged 26 to 35 years and 5% of    
  4989. the number of women aged 36 to 45 years. Sometimes a simple attribute may be    
  4990. found to correlate well enough to be used as an indicator variable.             
  4991.                                                                                 
  4992. The algorithmns work with positive integer values, so arithmetic operations may 
  4993. have to be used to scale and offset the attribute data. The data values should  
  4994. have a large range.                                                             
  4995.                                                                                 
  4996.                                                                                 
  4997.  
  4998.  23. 7 Allocation                                        
  4999.        ----------
  5000.  
  5001.                                                                                 
  5002. An allocation consists of a matrix of assignments of demand from each point to  
  5003. each site. Only one allocation is active at any time.                           
  5004.                                                                                 
  5005. An allocation is defined explicitly by the allocation operation (the point of   
  5006. Minimum Aggregate Travel using steepest descent) or implicitly by the use of    
  5007. the Alternating or Tornqvist algorithms.                                        
  5008.                                                                                 
  5009.  
  5010.  23. 8 Parameters                                        
  5011.        ----------
  5012.  
  5013.                                                                                 
  5014. A number of parameters are used to control operations. They have default values 
  5015. and can be changed during a session.                                            
  5016.                                                                                 
  5017. Number of sites - the maximum possible depends on the number of points.         
  5018.                                                                                 
  5019. Constrained - initially unconstrained. During allocation, if the constrained    
  5020. option is in effect the demand allocated to a site may not exceed that sites's  
  5021. capacity as defined. Constrained allocation invokes a solution to the           
  5022. transportation problem, while unconstrained allocation is to the nearest site.  
  5023.                                                                                 
  5024. Maximum iterations - limits for each algorithm.                                 
  5025.                                                                                 
  5026. Criterion distance - Iterations cease when movement is less than this amount in 
  5027. coordinate units.                                                               
  5028.  
  5029.                                                                       97
  5030.                                                                                 
  5031. Steps - In the Tornqvist algorith steps start at the given value, decrease by   
  5032. the given factor to the given minimum.                                          
  5033.                                                                                 
  5034. KM scale - Used to give reports in Kilometres. The scaling is calculated for    
  5035. Lat/Long, otherwise it is 1000 (metres assumed). Note that the effect of        
  5036. latitude is handled approximately.                                              
  5037.                                                                                 
  5038.  
  5039.  23. 9 Barriers and Freeways                             
  5040.        ---------------------
  5041.  
  5042.                                                                                 
  5043. Travel limitations such as rivers can be simulated by specifying straight line  
  5044. barriers with the mouse / cursor. Barriers can also be used for other           
  5045. situations such as political boundaries.                                        
  5046.                                                                                 
  5047. Freeways and travel speed ratios can also be specified.                         
  5048.                                                                                 
  5049.  
  5050.  23.10 Outputs                                           
  5051.        -------
  5052.  
  5053.                                                                                 
  5054. The current allocation is continually output to a geographic file and           
  5055. displayed. The file name can be changed, and the file can be used for other     
  5056. mapping applications. The file contains:                                        
  5057.       The site locations as points                                              
  5058.       Lines joining the sites and the allocated points (feature code 1)         
  5059.       Barriers (featurecode 2)                                                  
  5060.       Freeways (feature code 3)                                                 
  5061.                                                                                 
  5062. A combine file can be generated giving the points allocated to each site.       
  5063. This can be used to accumulate attribute data for mapping at the sites in the   
  5064. generated geographic file. It could also be used to amalgamate polygons to form 
  5065. territories (if there are no repeated points i.e. weights < 1. In this case     
  5066. you will have to output the combine file as a data file and edit it).           
  5067.                                                                                 
  5068. The current allocation can be shown on the screen, and a full report can be     
  5069. output to the usual OZGIS.OUT file.                                             
  5070.                                                                                 
  5071. The allocation can be saved to (and restored from) a file.                      
  5072.                                                                                 
  5073.                                                                                 
  5074.  
  5075.                                                                       98
  5076.                    24. SITE CATCHMENTS                                   
  5077.                        ===============
  5078.  
  5079.                                                                                 
  5080.                                                                                 
  5081. Catchments can be defined as contours around sites and the attribute data       
  5082. extracted from base zones (usually Census data) for mapping.                    
  5083.                                                                                 
  5084.                                                                                 
  5085.                                                                                 
  5086.                                                                                 
  5087.  
  5088.  24. 1 Introduction                                      
  5089.        ------------
  5090.  
  5091. A common requirement is to know the demographics of an area surrounding a site. 
  5092.                                                                                 
  5093. For example, a shopping centre manager would like to know how many customers of 
  5094. a particular type should be attracted to the centre.                            
  5095.                                                                                 
  5096. The basic source of demographic data is usually Census data.  The aim of the    
  5097. site catchment software is to determine weights to be applied to Census         
  5098. districts around a site so values can be accumulated.                           
  5099.                                                                                 
  5100. As it is expected that the attraction to a site will fall away with distance,   
  5101. the procedure is to define a set of contours around each site.                  
  5102.                                                                                 
  5103. For example, it may be decided that 95% of people living within 10KM of a       
  5104. hospital will go there in am emergency, 50% within 20KM outside that, and 10%   
  5105. within 30KM.                                                                    
  5106.                                                                                 
  5107. The contours are defined interactively on the screen, and their shape will      
  5108. reflect other influences such as barriers and competition.                      
  5109.                                                                                 
  5110.  
  5111.                                                                       99
  5112.                                                                                 
  5113. For example, the contours may be drawn for two sites at locations X and Y as:   
  5114.                                                                                 
  5115.                                    *                                            
  5116.                                  *    *                                         
  5117.                                 *       *                                       
  5118.                               *           *                                     
  5119.                             *              *                                    
  5120.                            *                *                                   
  5121.                          *         *         *                                  
  5122.                        *         *   *        *                                 
  5123.                       *        *       *       *                                
  5124.                       *       *   ***   *       *                               
  5125.                       *      *   *   *   *      *                               
  5126.                       *      *  *  X  *  *      *                               
  5127.                        *     *   *   *  *      *                                
  5128.                         *     *   ***  *      *                                 
  5129.                          *     *      *      *                                  
  5130.                           *     ******      *                                   
  5131.                             *              *                                    
  5132.                              *          ***                                     
  5133.                               *********                                         
  5134.                                                                                 
  5135.                                                                                 
  5136.                                                                                 
  5137.                                                                                 
  5138.                *                                                                
  5139.              *   *                                                              
  5140.            *       *                                                            
  5141.          *   ***   *                                                            
  5142.         *   *   *   *                                                           
  5143.         *  *  Y  *  *                                                           
  5144.        *   *    *   *                                                           
  5145.         *   * *    *                                                            
  5146.           *  *    *                                                             
  5147.            *     *                                                              
  5148.              **                                                                 
  5149.                                                                                 
  5150.                                                                                 
  5151. After the catchment contours have been defined they can be overlayed on the     
  5152. underlying Census boundaries to find which Census districts lie within each     
  5153. contour.                                                                        
  5154.                                                                                 
  5155. The Census districts, the proportion within the contours and the contour levels 
  5156. are used to produce a list of districts and their weights for each site. The    
  5157. lists are output as a combine file which can be used to amalgamate Census data  
  5158. for mapping.                                                                    
  5159.                                                                                 
  5160. The site names and locations are output as a geographic file that can be used   
  5161. with the attribute file to map the sites.                                       
  5162.                                                                                 
  5163. Geographic files containing the contour lines and other site definition         
  5164. graphics can  also be produced for use as an overlay on maps.                   
  5165.  
  5166.                                                                      100
  5167.  
  5168.  24. 2 First example                                     
  5169.        -------------
  5170.  
  5171. Select Applications from the top menu and then Site catchment definition.       
  5172. The main site catchment menu is:                                                
  5173.                                                                                 
  5174. Files                                                                           
  5175. Define                                                                          
  5176. Assemble                                                                        
  5177. Help                                                                            
  5178.                                                                                 
  5179.                                                                                 
  5180. Give the geographic file as CANBL81                                             
  5181.                                                                                 
  5182. Select DEFINE and INCLUDE SITES FROM A CATCHMENT FILE                           
  5183.                                                                                 
  5184. Give the catchment file as catch                                                
  5185.                                                                                 
  5186. A set of site catchments in Canberra will be displayed.                         
  5187.  
  5188.  24. 3 Data                                              
  5189.        ----
  5190.  
  5191. You need a geographic zones file, and an attribute file of demographic data     
  5192. (typically Census data).                                                        
  5193.                                                                                 
  5194. The attribute used will relate to the project e.g. to site child-care centres   
  5195. you may use 0 to 4 year olds.                                                   
  5196.                                                                                 
  5197. The base map zones cannot have any missing data.                                
  5198.                                                                                 
  5199. The following demonstration files are supplied:                                 
  5200.                                                                                 
  5201. L81SEG.DAT is a data file of geographic line segments supplied by AUSLIG.       
  5202. The zones are Local Government Areas (LGAs).                                    
  5203.                                                                                 
  5204. L81ATTR.DAT is a data file of demographic data                                  
  5205. L81.att is the entered attribute data                                           
  5206.                                                                                 
  5207. ACTSUBUR.DAT and ACTSUBUR.GEO are geographic points/names for Canberra suburbs. 
  5208.                                                                                 
  5209. CANBL81.GEO is a geographic file of LGAs for canberra. It was prepared by       
  5210. building polygons from L81SEG and the subsetting the file for the attribute     
  5211. file son none of the polygons have no data.                                     
  5212.                                                                                 
  5213. CATCH.CAT is and example catchment file defining sone sites in Canberra for the 
  5214. example files.                                                                  
  5215.  
  5216.  24. 4 Example                                           
  5217.        -------
  5218.  
  5219. Suppose you want to analyse some shopping centre sites in Canberraand you have  
  5220. a geographic file of boundaries called CANBL81, a geographic file of            
  5221. names called ACTSUBUB and a file of Census data for the zones called            
  5222. CANBL81.                                                                        
  5223. Select Applications from the top menu and then Site catchment definition.       
  5224.  
  5225.                                                                      101
  5226. The main site catchment menu is:                                                
  5227.                                                                                 
  5228. Files                                                                           
  5229. Define                                                                          
  5230. Assemble                                                                        
  5231. Help                                                                            
  5232.                                                                                 
  5233. First of all the catchments have to be defined, so select Define                
  5234.                                                                                 
  5235. The catchments are defined relative to a base map, and there is the concept of  
  5236. a current set of sites being worked on.                                         
  5237.                                                                                 
  5238. So give the geographic file as CANBL81. The base map is displayed.              
  5239.                                                                                 
  5240. The following menu appears:                                                     
  5241.                                                                                 
  5242. ADD A NEW SITE                                                                  
  5243. DELETE A SITE                                                                   
  5244. RENAME A SITE                                                                   
  5245. REPOSITION SITE LOCN, NAME OR SYMBOL                                            
  5246. MODIFY SITE CONTOURS                                                            
  5247. SEARCH GEOG FILE FOR SITES INSIDE A CONTOUR                                     
  5248. CHANGE DISPLAYED REGION                                                         
  5249. TEMPORARYILY OVERLAY OTHER CATCHMENT FILE ON BASE MAP                           
  5250. OVERLAY GEOGRAPHIC FILES ON BASE MAP                                            
  5251. DISPLAY ALL CURRENT SITES                                                       
  5252. INCLUDE SITES FROM CATCHMENT FILE                                               
  5253. INCLUDE POINTS FROM GEOGRAPHIC FILE                                             
  5254. INCLUDE POLYGONS FROM GEOGRAPHIC FILE                                           
  5255. DISPLAY TEXT                                                                    
  5256. OUTPUT TO CATCHMENT FILE                                                        
  5257. OUTPUT TO CATCHMENT FILE AND EXIT                                               
  5258.                                                                                 
  5259. Next display the suburb names by selecting OVERLAY GEOGRAPHIC FILES and then    
  5260. OVERLAY SITE NAMES FROM A GEOGRAPHIC FILE. Give the file name as ACTSUBUR       
  5261. The names are to help "navigate" so are not really necessary. You might also    
  5262. display roads (if you have the data).                                           
  5263.                                                                                 
  5264. You may also want to use the CHANGE DISPLAYED REGION option to change the part  
  5265. of Canberra that is displayed.                                                  
  5266.                                                                                 
  5267. Now a new set of catchments can be defined (you can read in an old set)         
  5268.                                                                                 
  5269. Select ADD A NEW SITE, which displays the menu:                                 
  5270.                                                                                 
  5271. ADD NEW SITE, CURSOR POSN                                                       
  5272. ADD NEW SITE, TYPED POSN                                                        
  5273.                                                                                 
  5274. Sites are initially defined as circles. You provide a name, the radius of the   
  5275. circle, and a weight.                                                           
  5276.                                                                                 
  5277. Suppose it has been decided as a starting point the 75% of people living within 
  5278. a 5KM radius of a shopping centre will buy all their groceries there. So select 
  5279. ADD NEW SITE, CURSOR POSN for each site                                         
  5280. Give a name                                                                     
  5281. Select the location with the cursor                                             
  5282. Give the radius as 5.0                                                          
  5283. Give the weight as 0.75                                                         
  5284.  
  5285.                                                                      102
  5286.                                                                                 
  5287. You can define several sites and modify them in several ways e.g. add more      
  5288. contours.                                                                       
  5289.                                                                                 
  5290. Finally use  OUTPUT TO CATCHMENT FILE to store the site definitions.            
  5291.                                                                                 
  5292. Now the first version of the catchments have been defined, the proportions of   
  5293. the underlying base polygons that are within the contours can be calculated for 
  5294. each site and the weights applied.                                              
  5295.                                                                                 
  5296. Select GENERATE CATCHMENT FILE ZONES AND WEIGHTS                                
  5297.                                                                                 
  5298. Give the names of the base zones geographic file as CANBL81T (it could be       
  5299. something else) and the name of the catchment file (CATCH is the example file)  
  5300.                                                                                 
  5301. The polygons and the contours are now intersected to find the areas of the      
  5302. common parts and the catchment file is updated for the list of zones and        
  5303. weights for each site.                                                          
  5304.                                                                                 
  5305. Now the mapping data has to be output to files for mapping:                     
  5306.                                                                                 
  5307. Select Assemble, which gives the menu:                                          
  5308.                                                                                 
  5309. INCLUDE SITES FROM CATCHMENT FILE                                               
  5310. CHANGE SYMBOL DISPLAY LOCATION                                                  
  5311. CHANGE NAME DISPLAY LOCATION                                                    
  5312. CHANGE DISPLAYED REGION                                                         
  5313. OUTPUT ZONES AND WEIGHTS TO COMBINE FILE                                        
  5314. AMALGAMATE ATTRIBUTE DATA FOR COMBINE FILE                                      
  5315. OUTPUT GEOGRAPHIC FILE FOR SYMBOLS AND CONTOUR DISPLAY                          
  5316. OUTPUT GEOGRAPHIC FILE FOR SITE NAMES AND OFFSET LINES                          
  5317.                                                                                 
  5318. First select INCLUDE SITES FROM CATCHMENT FILE and give the catchment files as  
  5319. CATCH (you could input several files).                                          
  5320.                                                                                 
  5321. Now generate a geographic file for mapping the sites by selecting               
  5322. OUTPUT GEOGRAPHIC FILE FOR SYMBOLS AND CONTOUR DISPLAY and giving a file name   
  5323. as say SITES. Then select OUTPUT GEOGRAPHIC FILE FOR SITE NAMES AND OFFSET LINES
  5324. and give a file name, say NAMES.                                                
  5325.                                                                                 
  5326. Now accumulate the attribute data for the sites:                                
  5327. First select OUTPUT ZONES AND WEIGHTS TO COMBINE FILE and give the file as      
  5328. COMB. The combine file will contain the list of zones  for each                 
  5329. site and the weights.                                                           
  5330.                                                                                 
  5331. Select AMALGAMATE ATTRIBUTE DATA FOR COMBINE FILE                               
  5332. The attribute file is that for the base zones L81 and the combine file is       
  5333. COMB. Give the output attributes as SITES.                                      
  5334.                                                                                 
  5335. You can now map the site data, so return to the top menu and select             
  5336. Map                                                                             
  5337.                                                                                 
  5338. You now have the two main files for mapping, a points file called SITES and the 
  5339. related attribute file SITES.                                                   
  5340.                                                                                 
  5341. You could now select DISPLAY SITES FOR AN ATTRIBUTE FILE to map the data.       
  5342.                                                                                 
  5343. However, you can also display the original base map data at the same time:      
  5344.  
  5345.                                                                      103
  5346.                                                                                 
  5347. Select DISPLAY ZONES AND SITES FOR TWO ATTRIBUTE FILES                          
  5348.                                                                                 
  5349. Give the zones attributes file as L81                                           
  5350. Give the sites attribute file as SITES                                          
  5351. Give the zones geographic file as CANBL81                                       
  5352. Give the sites geographic file as SITES                                         
  5353.                                                                                 
  5354. The map is now displayed, with the site symbols on top of the base map.         
  5355.                                                                                 
  5356. Now add the contour lines by selecting DEFINE GEOGRAPHIC OVERLAYS and           
  5357. then OVERLAY LINE SEGMENTS FROM A GEOGRAPHIC FILE. Give the file as SITES.      
  5358.                                                                                 
  5359.  
  5360.  24. 5 Geographic files                                  
  5361.        ----------------
  5362.  
  5363. Sites are intiially defined as circles on the ground of a given size.           
  5364.                                                                                 
  5365. The map projection must be known to do this.                                    
  5366.                                                                                 
  5367. The geographic files must be Latitude Longitude with units of degrees.          
  5368.                                                                                 
  5369. Census boundary files are usually in this form.                                 
  5370.                                                                                 
  5371. You may have to use the projections options.                                    
  5372.                                                                                 
  5373. In particular, even if the file is lat. long. you may have to write that        
  5374. information into the file header by:                                            
  5375.                                                                                 
  5376. Select CHOOSE FROM PROJECTION SET 1 and then GEOGRAPHIC LATITUDE LONGITUDE      
  5377. Then use WRITE PROJECTION DEFINITION INTO GEOGRAPHIC FILE                       
  5378.                                                                                 
  5379. You will find that the process of intersecting the catchment contours and the   
  5380. base map polygons is slow. As the speed depends on the number of points in the  
  5381. polygons and as the process is approximate it is suggested that the data        
  5382. preparation option be used SIMPLIFY (THIN) LINE SEGMENTS                        
  5383.                                                                                 
  5384. The catchments are held as latitude / longitude polygons so are independent of  
  5385. the base map i.e. you can use one base map during definition and another during 
  5386. the intersection process. The process assumes an even population distribution   
  5387. across the base map zones, so the smaller the zones the more accurate the       
  5388. results would be.                                                               
  5389.                                                                                 
  5390. Note that the current set of sites being processed must always fit on the base  
  5391. map.                                                                            
  5392.                                                                                 
  5393.  
  5394.  24. 6 Catchment files                                   
  5395.        ---------------
  5396.  
  5397. The system aims to provide facilities for analysis of sites for the             
  5398. definition of site locations and catchments, the retrieval of data,             
  5399. development of models and display of results.                                   
  5400.                                                                                 
  5401. The base of the process is the catchment file.                                  
  5402. A catchment file holds the definition of several sites.  The sites have         
  5403. some common grouping (e.g. all part of the same retail chain) and all fit       
  5404.  
  5405.                                                                      104
  5406. on the same base map.                                                           
  5407.                                                                                 
  5408. A typical analysis would involve several catchment files, e.g. several sets     
  5409. of sites each for a different organisations( e.g. several sets, each            
  5410. defined on different base maps to increase resolution. )                        
  5411.                                                                                 
  5412. Site definition is carried out for a current set of sites.  These               
  5413. sites can be modified and new sites defined.  A base map is always              
  5414. displayed and all the current sites must fit on the displayed map.              
  5415.                                                                                 
  5416. Also defined for assistance are any other catchment files relevant to the analys
  5417. Site symbols, names and catchments are displayed if they fit on the             
  5418. map.  These sites cannot be modified.                                           
  5419.                                                                                 
  5420. A catchment file contains the following information for each site.              
  5421.                                                                                 
  5422. -    site name (10 characters)                                                  
  5423. -    site location                                                              
  5424. -    site symbol display location                                               
  5425. -    site name display location                                                 
  5426. -    catchment contours (up to 5)                                               
  5427. -    base zones and weights within catchment                                    
  5428.  
  5429.  24. 7 Catchment modification                            
  5430.        ----------------------
  5431.  
  5432. The whole process is iterative with catchments being modified and the results   
  5433. mapped.                                                                         
  5434.                                                                                 
  5435. The catchment definition menus provide the options (using a displayed base      
  5436. map):                                                                           
  5437. INCLUDE SITES FROM CATCHMENT FILE                                               
  5438. Enables existing sites to be considered.                                        
  5439.                                                                                 
  5440. ADD A NEW SITE                                                                  
  5441. DELETE A SITE                                                                   
  5442. RENAME A SITE                                                                   
  5443. Provides basic site control.                                                    
  5444.                                                                                 
  5445. REPOSITION SITE LOCN, NAME OR SYMBOL                                            
  5446. Enables shuffling of displayed site information when sites are crowded.         
  5447.                                                                                 
  5448. MODIFY SITE CONTOURS                                                            
  5449. Enables several contours to be defined for a site as circles or digitised       
  5450. simple polygons. The contours can reflect the interaction between sites and any 
  5451. barriers.                                                                       
  5452.                                                                                 
  5453. Contours are essentially simple i.e. they are assumed to be concentric, and do  
  5454. not cross.                                                                      
  5455.                                                                                 
  5456. CHANGE DISPLAYED REGION                                                         
  5457. Enables zooming and panning of the base map.                                    
  5458.                                                                                 
  5459. TEMPORARYILY OVERLAY OTHER CATCHMENT FILE ON BASE MAP                           
  5460. Enables other site catchment files to be added as overlays.                     
  5461.                                                                                 
  5462. OVERLAY GEOGRAPHIC FILES ON BASE MAP                                            
  5463. Enables lines, points etc to be added to the base map.                          
  5464.  
  5465.                                                                      105
  5466.                                                                                 
  5467. INCLUDE POINTS FROM GEOGRAPHIC FILE                                             
  5468. Enables a set of sites to be defined as circles (all same radius) at locations  
  5469. given in the file.                                                              
  5470.                                                                                 
  5471.  
  5472.                                                                      106
  5473.                    25. DIGITAL CHART OF THE WORLD                        
  5474.                        ==========================
  5475.  
  5476.  
  5477.  25. 1 Introduction                                      
  5478.        ------------
  5479.  
  5480. The Digital Chart of the World (DCW) is a fabulous world-wide database available
  5481. on 4 CD-ROMs for the cost of distribution.                                      
  5482. Points, lines and text data can be imported in VPF format. Polygons can be built
  5483. from the lines with some restrictions.                                          
  5484. The data entry process is designed so only the required files are processed.    
  5485. This means that you do not have to have a CD-ROM drive but can copy the required
  5486. files from another PC.                                                          
  5487.  
  5488.  25. 2 Databases                                         
  5489.        ---------
  5490.  
  5491. The data comes on four CD-ROMS. Each contains a copy of the world-wide BROWSE   
  5492. library and one other  library covering a part of the world                     
  5493. BROWSE   all world                                                              
  5494. EURNASIA Europe and North Asia                                                  
  5495. SOAMAFR  South America and Africa                                               
  5496. NOAMER   North America                                                          
  5497. SASAUS   South Asia and Australasia                                             
  5498.                                                                                 
  5499. You obviously choose which library you want first.                              
  5500.                                                                                 
  5501. The BROWSE data base contains data files that cover the whole world, but the    
  5502. other detailed libraries contain a hierarchy of file directories of data for    
  5503. 5 degree square tiles.                                                          
  5504.                                                                                 
  5505. The first process is finding which directories contain the data you require.    
  5506.  
  5507.  25. 3 Files                                             
  5508.        -----
  5509.  
  5510. Processing requires two files:                                                  
  5511.       1. a file that contains the actual data                                   
  5512.       2. A feature attribute table file that defines the feature codes of the   
  5513.                                                                                 
  5514. Pairs of files are:                                                             
  5515. Lines  data TXT.  feature xxLINE.LFT                                            
  5516. Points data END.  feature xxPOINT.PFT                                           
  5517. Text   data TXT.  feature xxTEXT.TFT                                            
  5518. Where xx is the main directory                                                  
  5519.  
  5520.  25. 4 Utilities                                         
  5521.        ---------
  5522.  
  5523. The DCW files are binary. A VPFDUMP program comes with the data and can be used 
  5524. for inspection.                                                                 
  5525. A similar program OZDCW is supplied. This can also be used to inspect data      
  5526. files.                                                                          
  5527. OZDCW must be used to convert the binary DCW files to ascii files in preparation
  5528. for data input i.e. the raw DCW files cannot be imported.                       
  5529. Typing OZDCW FILE will list the file                                            
  5530.  
  5531.                                                                      107
  5532. Hence you often use "OZDCW file | MORE"                                         
  5533. To process a file for importing use e.g. "OZDCW file > dataFile"                
  5534.                                                                                 
  5535.  
  5536.  25. 5 Coverage directories                              
  5537.        --------------------
  5538.  
  5539. The first file to look at is the coverage attribute table at the highest        
  5540. directory level for the library you want. This is called CAT.                   
  5541.                                                                                 
  5542. e.g. type "OZDCW BROWSE\CAT. | MORE" to find what is in the BROWSE library      
  5543.                                                                                 
  5544. Digital Chart of the World file: \usr\local\DCW\BROWSE\CAT.                     
  5545.                                                                                 
  5546. 191L;                                                                           
  5547. Coverage Attribute Table;-;                                                     
  5548.                                                                                 
  5549. **DCWcolumns ====================                                               
  5550.                                                                                 
  5551. ID              =I,  1,N,Row Identifier,-,-,:                                   
  5552. COVERAGE_NAME   =T,  8,P,Coverage name,-,-,:                                    
  5553. DESCRIPTION     =T, 50,N,Coverage description,-,-,:                             
  5554. LEVEL           =I,  1,N,Topology level,-,-,:;                                  
  5555.                                                                                 
  5556. **DCWdata ===========================                                           
  5557.                                                                                 
  5558. **DCWrow --------------------                                                   
  5559. 1                                                                               
  5560. CO                                                                              
  5561. ONC Compilation Date                                                            
  5562. 3                                                                               
  5563. **DCWrow --------------------                                                   
  5564. 2                                                                               
  5565. DV                                                                              
  5566. Data Volume                                                                     
  5567. 3                                                                               
  5568. **DCWrow --------------------                                                   
  5569. 3                                                                               
  5570. DN                                                                              
  5571. Drainage                                                                        
  5572. 3                                                                               
  5573. **DCWrow --------------------                                                   
  5574. 4                                                                               
  5575. GR                                                                              
  5576. Geographic Regions                                                              
  5577. 3                                                                               
  5578. **DCWrow --------------------                                                   
  5579. 5                                                                               
  5580. DA                                                                              
  5581. Hypsographic Data Availability                                                  
  5582. 3                                                                               
  5583. **DCWrow --------------------                                                   
  5584. 6                                                                               
  5585. IN                                                                              
  5586. ONC Index                                                                       
  5587. 3                                                                               
  5588. **DCWrow --------------------                                                   
  5589. 7                                                                               
  5590.  
  5591.                                                                      108
  5592. PO                                                                              
  5593. Political\Oceans                                                                
  5594. 3                                                                               
  5595. **DCWrow --------------------                                                   
  5596. 8                                                                               
  5597. PP                                                                              
  5598. Populated Places                                                                
  5599. 0                                                                               
  5600.                                                                                 
  5601. Hence Rivers etc are in the drainage coverage, Country boundaries in the        
  5602. political directory PO etc                                                      
  5603.                                                                                 
  5604.  
  5605.  25. 6 Directory Contents                                
  5606.        ------------------
  5607.  
  5608. Suppose you want to find out the actual data available in the political         
  5609. coverage i.e. the PO directory.                                                 
  5610.                                                                                 
  5611. type "OZDCW PO\INT.VDT | MORE"                                                  
  5612.                                                                                 
  5613.                                                                                 
  5614. Digital Chart of the World file: PO\INT.VDT                                     
  5615.                                                                                 
  5616. 252L;                                                                           
  5617. Political\Oceans Integer Value Description Table;-;                             
  5618.                                                                                 
  5619. **DCWcolumns ====================                                               
  5620.                                                                                 
  5621. ID              =I,  1,N,Row Identifier,-,-,:                                   
  5622. TABLE           =T, 12,P,Name of Feature Table,-,-,:                            
  5623. ATTRIBUTE       =T, 16,P,Attribute Name,-,-,:                                   
  5624. VALUE           =I,  1,P,Attribute Value,-,-,:                                  
  5625. DESCRIPTION     =T, 50,N,Attribute Value Description,-,-,:;                     
  5626.                                                                                 
  5627. **DCWdata ===========================                                           
  5628.                                                                                 
  5629. **DCWrow --------------------                                                   
  5630. 1                                                                               
  5631. POAREA.AFT                                                                      
  5632. POPYTYPE                                                                        
  5633. 1                                                                               
  5634. Land areas                                                                      
  5635. **DCWrow --------------------                                                   
  5636. 2                                                                               
  5637. POAREA.AFT                                                                      
  5638. POPYTYPE                                                                        
  5639. 2                                                                               
  5640. Ocean areas                                                                     
  5641. **DCWrow --------------------                                                   
  5642. 3                                                                               
  5643. POLINE.LFT                                                                      
  5644. POLNTYPE                                                                        
  5645. 1                                                                               
  5646. International Boundary                                                          
  5647. **DCWrow --------------------                                                   
  5648. 4                                                                               
  5649. POLINE.LFT                                                                      
  5650.  
  5651.                                                                      109
  5652. POLNTYPE                                                                        
  5653. 2                                                                               
  5654. Coastline                                                                       
  5655. **DCWrow --------------------                                                   
  5656. 5                                                                               
  5657. POTEXT.TFT                                                                      
  5658. LEVEL                                                                           
  5659. 1                                                                               
  5660. Land place names                                                                
  5661. **DCWrow --------------------                                                   
  5662. 6                                                                               
  5663. POTEXT.TFT                                                                      
  5664. LEVEL                                                                           
  5665. 2                                                                               
  5666. Ocean place names                                                               
  5667. **DCWrow --------------------                                                   
  5668. 7                                                                               
  5669. POTEXT.TFT                                                                      
  5670. LEVEL                                                                           
  5671. 3                                                                               
  5672. Ice Status                                                                      
  5673. **DCWrow --------------------                                                   
  5674. 8                                                                               
  5675. POTEXT.TFT                                                                      
  5676. LEVEL                                                                           
  5677. 4                                                                               
  5678. Land place names (diacritical)                                                  
  5679. **DCWrow --------------------                                                   
  5680. 9                                                                               
  5681. POTEXT.TFT                                                                      
  5682. LEVEL                                                                           
  5683. 5                                                                               
  5684. Ocean Place names (diacritical)                                                 
  5685. **DCWrow --------------------                                                   
  5686. 10                                                                              
  5687. POTEXT.TFT                                                                      
  5688. LEVEL                                                                           
  5689. 6                                                                               
  5690. Mountain names                                                                  
  5691. **DCWrow --------------------                                                   
  5692. 11                                                                              
  5693. POTEXT.TFT                                                                      
  5694. LEVEL                                                                           
  5695. 7                                                                               
  5696. Mountain names (diacritical)                                                    
  5697. **DCWrow --------------------                                                   
  5698. 12                                                                              
  5699. POTEXT.TFT                                                                      
  5700. LEVEL                                                                           
  5701. 8                                                                               
  5702. Island names                                                                    
  5703. **DCWrow --------------------                                                   
  5704. 13                                                                              
  5705. POTEXT.TFT                                                                      
  5706. LEVEL                                                                           
  5707. 9                                                                               
  5708. Island names (diacritical)                                                      
  5709. **DCWrow --------------------                                                   
  5710.  
  5711.                                                                      110
  5712. 14                                                                              
  5713. POTEXT.TFT                                                                      
  5714. LEVEL                                                                           
  5715. 10                                                                              
  5716. Desert names                                                                    
  5717. **DCWrow --------------------                                                   
  5718. 15                                                                              
  5719. POTEXT.TFT                                                                      
  5720. LEVEL                                                                           
  5721. 11                                                                              
  5722. Desert names (diacritical)                                                      
  5723. **DCWrow --------------------                                                   
  5724. 16                                                                              
  5725. POTEXT.TFT                                                                      
  5726. SYMBOL                                                                          
  5727. 1                                                                               
  5728. Black annotation                                                                
  5729. **DCWrow --------------------                                                   
  5730. 17                                                                              
  5731. POTEXT.TFT                                                                      
  5732. SYMBOL                                                                          
  5733. 4                                                                               
  5734. Blue annotation                                                                 
  5735.                                                                                 
  5736.                                                                                 
  5737. Each entry tells you what it is, the attribute feature table you have to use,   
  5738. and the feature code e.g. the entry:                                            
  5739.                                                                                 
  5740. **DCWrow --------------------                                                   
  5741. 4                                                                               
  5742. POLINE.LFT                                                                      
  5743. POLNTYPE                                                                        
  5744. 2                                                                               
  5745. Coastline                                                                       
  5746.                                                                                 
  5747. Tells you that to to extract the Coast outline you need feature code 2          
  5748.                                                                                 
  5749.  
  5750.  25. 7 Example - World Countries                         
  5751.        -------------------------
  5752.  
  5753.                                                                                 
  5754. To map the whole world use the BROWSE library.                                  
  5755.                                                                                 
  5756. First look at the coverage attribute table, which basically tells what          
  5757. is in the various directories for the library:                                  
  5758.                                                                                 
  5759. Type "VPFdump  \usr\local\DCW\BROWSE\CAT. | MORE"                               
  5760.                                                                                 
  5761.                                                                                 
  5762. 191L;                                                                           
  5763. Coverage Attribute Table;-;                                                     
  5764. ID              =I,  1,N,Row Identifier,-,-,:                                   
  5765. COVERAGE_NAME   =T,  8,P,Coverage name,-,-,:                                    
  5766. DESCRIPTION     =T, 50,N,Coverage description,-,-,:                             
  5767. LEVEL           =I,  1,N,Topology level,-,-,:;                                  
  5768. 1       CO              ONC Compilation Date                                    
  5769. 3                                                                               
  5770.  
  5771.                                                                      111
  5772. 2       DV              Data Volume                                             
  5773. 3                                                                               
  5774. 3       DN              Drainage                                                
  5775. 3                                                                               
  5776. 4       GR              Geographic Regions                                      
  5777. 3                                                                               
  5778. 5       DA              Hypsographic Data Availability                          
  5779. 3                                                                               
  5780. 6       IN              ONC Index                                               
  5781. 3                                                                               
  5782. 7       PO              Political\Oceans                                        
  5783. 3                                                                               
  5784. 8       PP              Populated Places                                        
  5785. 0                                                                               
  5786.                                                                                 
  5787. So rivers will be in the DN directory, towns in the PP directory etc.           
  5788.                                                                                 
  5789. In this example look at to PO directory...                                      
  5790.                                                                                 
  5791.                                                                                 
  5792. As before, start by looking at the Integer Value Description table:             
  5793.                                                                                 
  5794. type "VPFdump \usr\local\DCW\BROWSE\PO\INT.VDT : MORE"                          
  5795.                                                                                 
  5796.                                                                                 
  5797. 252L;                                                                           
  5798. Political\Oceans Integer Value Description Table;-;                             
  5799. ID              =I,  1,N,Row Identifier,-,-,:                                   
  5800. TABLE           =T, 12,P,Name of Feature Table,-,-,:                            
  5801. ATTRIBUTE       =T, 16,P,Attribute Name,-,-,:                                   
  5802. VALUE           =I,  1,P,Attribute Value,-,-,:                                  
  5803. DESCRIPTION     =T, 50,N,Attribute Value Description,-,-,:;                     
  5804. 1       POAREA.AFT      POPYTYPE                1       Land areas              
  5805.                                                                                 
  5806. 2       POAREA.AFT      POPYTYPE                2       Ocean areas             
  5807.                                                                                 
  5808. 3       POLINE.LFT      POLNTYPE                1       International Boundary  
  5809.                                                                                 
  5810. 4       POLINE.LFT      POLNTYPE                2       Coastline               
  5811.                                                                                 
  5812. 5       POTEXT.TFT      LEVEL                   1       Land place names        
  5813.                                                                                 
  5814. 6       POTEXT.TFT      LEVEL                   2       Ocean place names       
  5815.                                                                                 
  5816. 7       POTEXT.TFT      LEVEL                   3       Ice Status              
  5817.                                                                                 
  5818. 8       POTEXT.TFT      LEVEL                   4       Land place names (diacri
  5819. tical)                                                                          
  5820. 9       POTEXT.TFT      LEVEL                   5       Ocean Place names (diacr
  5821. itical)                                                                         
  5822. 10      POTEXT.TFT      LEVEL                   6       Mountain names          
  5823.                                                                                 
  5824. 11      POTEXT.TFT      LEVEL                   7       Mountain names (diacriti
  5825. cal)                                                                            
  5826. 12      POTEXT.TFT      LEVEL                   8       Island names            
  5827.                                                                                 
  5828. 13      POTEXT.TFT      LEVEL                   9       Island names (diacritica
  5829. l)                                                                              
  5830.  
  5831.                                                                      112
  5832. 14      POTEXT.TFT      LEVEL                   10      Desert names            
  5833.                                                                                 
  5834. 15      POTEXT.TFT      LEVEL                   11      Desert names (diacritica
  5835. l)                                                                              
  5836. 16      POTEXT.TFT      SYMBOL                  1       Black annotation        
  5837.                                                                                 
  5838. 17      POTEXT.TFT      SYMBOL                  4       Blue annotation         
  5839.                                                                                 
  5840. The major interest is the coast and country boundary lines, given by            
  5841. line feature table POLINE.LFT with the feature column POLNTYPE having           
  5842. values 1=International Boundary or 2=Coastline                                  
  5843.                                                                                 
  5844. We will also extract the major place names, feature code 1.                     
  5845.                                                                                 
  5846.                                                                                 
  5847. You need pairs of files; the data goes into a .DAT file and the attribute table 
  5848. file into an OzGIS parameter file:                                              
  5849.                                                                                 
  5850. First the lines:                                                                
  5851.                                                                                 
  5852. OZDCW PO\POLINE.LFT > \mapping\DCWLINE.PRM (where mapping is the directory, say)
  5853. OZDCW PO\EDG.       > \mapping\DCWLINE.DAT                                      
  5854.                                                                                 
  5855. and the text\points data:                                                       
  5856. OZDCW PO\POTEXT.TFT > \mapping\DCWTEXT.PRM                                      
  5857. OZDCW PO\TXT.       > \mapping\DCWTEXT.DAT                                      
  5858.                                                                                 
  5859. Now run OzGIS and import geographic data for two files DCWLINE and DCWTEXT You  
  5860. select the type of DCWdata being imported and specify the feature codes         
  5861. required.                                                                       
  5862.                                                                                 
  5863. Then map geographic data. Display DCWLINE lines for feature code 2 (the coast). 
  5864. Then overlay lines for feature code 1 (the internal country boundaries, and     
  5865. overlay DCWTEXT as names at points.                                             
  5866.                                                                                 
  5867.  
  5868.  25. 8 Tiles Example                                     
  5869.        -------------
  5870.  
  5871. The detailed libraries contain the data in 5 degree square tiles. Each tile is  
  5872. in a lower level directory. To be inconsistent, the feature table files are     
  5873. still in the top level directories.                                             
  5874.                                                                                 
  5875. Suppose we want to map the Mergui Peninsular area, Latitude about 12N, longitude
  5876. about 98E.                                                                      
  5877.                                                                                 
  5878. The first thing you have to do is find which directory contains the data        
  5879.                                                                                 
  5880. The Face bounding rectangle table tells the extent of each tile                 
  5881.                                                                                 
  5882.                                                                                 
  5883. Type "VPFdump \usr\local\DCW\SASAUS\TILEREF\FBR. | MORE"                        
  5884.                                                                                 
  5885. 239L;                                                                           
  5886. "FBR: Face Bounding Rectangle Table";-;                                         
  5887. ID              =I,  1,P,Row ID,-,-,:                                           
  5888. XMIN            =F,  1,N,Minimum X Coordinate,-,-,:                             
  5889. YMIN            =F,  1,N,Minimum Y Coordinate,-,-,:                             
  5890.  
  5891.                                                                      113
  5892. XMAX            =F,  1,N,Maximum X Coordinate,-,-,:                             
  5893. YMAX            =F,  1,N,Maximum Y Coordinate,-,-,:;                            
  5894. 1    -180.000092    -55.000000    180.000000    55.000000                                   
  5895. 2    45.000008    50.000000    50.000000    55.000000                                       
  5896. 3    50.000008    50.000000    55.000000    55.000000                                       
  5897. 4    55.000008    50.000000    60.000000    55.000000                                       
  5898. 5    60.000008    50.000000    65.000000    55.000000                                       
  5899. 6    65.000015    50.000000    70.000000    55.000000                                       
  5900. 7    70.000015    50.000000    75.000000    55.000000                                       
  5901. 8    75.000015    50.000000    80.000000    55.000000                                       
  5902. 9    80.000015    50.000000    85.000000    55.000000                                       
  5903. 10    85.000015    50.000000    90.000000    55.000000                                      
  5904. 11    -180.000092    45.000000    -175.000000    50.000000                                  
  5905. 12    25.000004    45.000000    30.000000    50.000000                                      
  5906. 13    30.000004    45.000000    35.000000    50.000000                                      
  5907. 14    35.000008    45.000000    40.000000    50.000000                                      
  5908. ....                                                                            
  5909. 229    75.000015    10.000000    80.000000    15.000000                                     
  5910. 230    80.000015    10.000000    85.000000    15.000000                                     
  5911. 231    85.000015    10.000000    90.000000    15.000000                                     
  5912. 232    90.000015    10.000000    95.000000    15.000000                                     
  5913. 233    95.000015    10.000000    100.000000    15.000000 <<<<<<<<<<<<<                      
  5914. 234    100.000015    10.000000    105.000000    15.000000                                   
  5915. 235    105.000015    10.000000    110.000000    15.000000                                   
  5916. 236    110.000015    10.000000    115.000000    15.000000                                   
  5917. 237    115.000015    10.000000    120.000000    15.000000                                   
  5918. ...                                                                             
  5919.                                                                                 
  5920. So you need tile number 233.  The tile reference attribute table gives          
  5921. the directory.                                                                  
  5922.                                                                                 
  5923. Type "VPFdump \usr\local\share\DCW\SASAUS\TILEREF\TILEREF.AFT | more"           
  5924. 94L;                                                                            
  5925. Tile Reference Areas;-;                                                         
  5926. ID              =I,  1,P,Row Identifier,-,-,:                                   
  5927. TILE_NAME       =T,  6,N,Tile Name,-,-,:;                                       
  5928. 1       \\                                                                      
  5929. 2       R\K\12                                                                  
  5930. 3       R\K\22                                                                  
  5931. 4       R\K\32                                                                  
  5932. 5       S\K\12                                                                  
  5933. 6       S\K\22                                                                  
  5934. 7       S\K\32                                                                  
  5935. 8       T\K\12                                                                  
  5936. 9       T\K\22                                                                  
  5937. 10      T\K\32                                                                  
  5938. 11      A\K\11                                                                  
  5939. 12      P\K\31                                                                  
  5940. 13      Q\K\11                                                                  
  5941. 14      Q\K\21                                                                  
  5942. 15      Q\K\31                                                                  
  5943. 16      R\K\11                                                                  
  5944.                                                                                 
  5945. ...                                                                             
  5946. 227     S\G\23                                                                  
  5947. 228     S\G\33                                                                  
  5948. 229     T\G\13                                                                  
  5949. 230     T\G\23                                                                  
  5950.  
  5951.                                                                      114
  5952. 231     T\G\33                                                                  
  5953. 232     U\G\13                                                                  
  5954. 233     U\G\23   <<<<<<<<<<<<<<<<<< coast                                       
  5955. 234     U\G\33                                                                  
  5956. 235     V\G\13                                                                  
  5957. 236     V\G\23                                                                  
  5958. 237     V\G\33                                                                  
  5959. 238     W\G\13                                                                  
  5960. 239     W\G\23                                                                  
  5961. ...                                                                             
  5962.                                                                                 
  5963. So the data are in sub-directory U\G\23                                         
  5964.                                                                                 
  5965.                                                                                 
  5966. So to extract the required data from the PO (political) coverage you could:     
  5967.                                                                                 
  5968. OZDCW PO\POTEXT.TFT    > \mapping\DCWTEXT.PRM for text                          
  5969. OZDCW PO\U\G\23\TXT.   > \mapping\DCWTEXT.DAT                                   
  5970.                                                                                 
  5971. OZDCW PO\POLINE.LFT    > \mapping\DCWLINE.PRM for line data                     
  5972. OZDCW PO\U\G\23\EDG.   > \mapping\DCWLINE.DAT                                   
  5973.                                                                                 
  5974. OZDCW PO\POPOINT.PFT   > \mapping\DCWPOINT.PRM for point data                   
  5975. OZDCW PO\U\G\23\END.   > \mapping\DCWPOINT.DAT                                  
  5976.                                                                                 
  5977. Note that the feature table files can be large. If you are short of disk space  
  5978. you need only extract the part of the file that has the IDs covering those of   
  5979. the data file. For example, if you extract data by say:                         
  5980. OZDCW PO\U\G\23\END.   > \mapping\DCWPOINT.DAT                                  
  5981.                                                                                 
  5982. Then the OZDCW program will print out the number of records. If you look at the 
  5983. start of the data file by:                                                      
  5984. MORE < \mapping\DCWPOINT.DAT                                                    
  5985. the you can find the ID of the first record.                                    
  5986.                                                                                 
  5987. Suppose the first ID is 1234 and there are 100 records, then you can extract    
  5988. just the required feature data by:                                              
  5989. OZDCW -f 1234 -l 1334 PO\POPOINT.PFT   > \mapping\DCWPOINT.PRM                  
  5990.                                                                                 
  5991. The first and last record IDs have to cover the range of the data.              
  5992. e.g. OZDCW -f 1000 -l 1500 PO\POPOINT.PFT   > \mapping\DCWPOINT.PRM             
  5993.                                                                                 
  5994.                                                                                 
  5995.                                                                                 
  5996.                                                                                 
  5997. As before you find the feature codes by looking at the INT.VDT file             
  5998.                                                                                 
  5999.                                                                                 
  6000. Type " VPFdump \usr\local\DCW\SASAUS\PO\INT.VDT | more"                         
  6001.                                                                                 
  6002. 279L;                                                                           
  6003. Political\Oceans Integer Value Description Table;-;                             
  6004. ID              =I,  1,N,Row Identifier,-,-,:                                   
  6005. TABLE           =T, 12,P,Name of Feature Table,-,-,:                            
  6006. ATTRIBUTE       =T, 16,P,Attribute Name,-,-,:                                   
  6007. VALUE           =I,  1,P,Attribute Value,-,-,:                                  
  6008. DESCRIPTION     =T, 50,N,Attribute Value Description,-,-,:;                     
  6009. 1       POAREA.AFT      POPYTYPE                1       Land                    
  6010.  
  6011.                                                                      115
  6012.                                                                                 
  6013. 2       POAREA.AFT      POPYTYPE                2       Open ocean              
  6014.                                                                                 
  6015. 3       POAREA.AFT      POPYTYPE                3       Polar Ice               
  6016.                                                                                 
  6017. 4       POAREA.AFT      POPYTYPE                4       Pack Ice                
  6018.                                                                                 
  6019. 5       POAREA.AFT      POPYTYPE                5       Shelf Ice               
  6020.                                                                                 
  6021. 6       POLINE.LFT      POLNTYPE                1       International boundary, 
  6022. Dejure                                                                          
  6023. 7       POLINE.LFT      POLNTYPE                2       International boundary, 
  6024. Defacto                                                                         
  6025. 8       POLINE.LFT      POLNTYPE                3       International boundary, 
  6026. Dejure and Defacto                                                              
  6027. 9       POLINE.LFT      POLNTYPE                4       Administrative boundary,
  6028.  primary                                                                        
  6029. 10      POLINE.LFT      POLNTYPE                5       Administrative boundary,
  6030.  major                                                                          
  6031. 11      POLINE.LFT      POLNTYPE                6       Treaty or occupancy line
  6032.                                                                                 
  6033. 12      POLINE.LFT      POLNTYPE                7       Coastal Closure Line    
  6034.                                                                                 
  6035. 13      POLINE.LFT      POLNTYPE                8       Ocean demarcation Line  
  6036.                                                                                 
  6037. 14      POLINE.LFT      POLNTYPE                9       Ice line                
  6038.                                                                                 
  6039. 15      POLINE.LFT      POLNTYPE                10      Coastline               
  6040.                                                                                 
  6041. 16      POLINE.LFT      POLNTYPE                11      Ice\Water line          
  6042.                                                                                 
  6043. 17      POLINE.LFT      POLNTYPE                12      Seawall                 
  6044.                                                                                 
  6045. 18      POLINE.LFT      POLNTYPE                13      International Date Line 
  6046.                                                                                 
  6047. 19      POLINE.LFT      POLNTYPE                88      Connector               
  6048.                                                                                 
  6049. 20      POLINE.LFT      POLNSTAT                1       Definite                
  6050.                                                                                 
  6051. 21      POLINE.LFT      POLNSTAT                2       Approximate boundary or 
  6052. fluctuating coastline                                                           
  6053. 22      POLINE.LFT      POLNSTAT                3       Indefinite boundary or u
  6054. nsurveyed coastline                                                             
  6055. 23      POLINE.LFT      POLNSTAT                4       Manmade coastline       
  6056.                                                                                 
  6057. 24      POLINE.LFT      POLNSTAT                5       Undetermined coastline  
  6058.                                                                                 
  6059. 25      POLINE.LFT      POLNSTAT                6       Ice cliff (coastline or 
  6060. ice line)                                                                       
  6061. 26      POLINE.LFT      POLNSTAT                7       River, when boundary    
  6062.                                                                                 
  6063. 27      POLINE.LFT      POLNSTAT                8       Poly closure line       
  6064.                                                                                 
  6065. 28      POLINE.LFT      POLNSTAT                9       None                    
  6066.                                                                                 
  6067. 29      POPOINT.PFT     POPTTYPE                1       Small island            
  6068.                                                                                 
  6069. 30      POTEXT.TFT      LEVEL                   1       Land place names        
  6070.  
  6071.                                                                      116
  6072.                                                                                 
  6073. 31      POTEXT.TFT      LEVEL                   2       Ocean place names       
  6074.                                                                                 
  6075. 32      POTEXT.TFT      LEVEL                   3       Ice Status              
  6076.                                                                                 
  6077. 33      POTEXT.TFT      LEVEL                   4       Land place names (diacri
  6078. tical)                                                                          
  6079. 34      POTEXT.TFT      LEVEL                   5       Ocean Place names (diacr
  6080. itical)                                                                         
  6081. 35      POTEXT.TFT      LEVEL                   6       Mountain names          
  6082.                                                                                 
  6083. 36      POTEXT.TFT      LEVEL                   7       Mountain names (diacriti
  6084. cal)                                                                            
  6085. 37      POTEXT.TFT      LEVEL                   8       Island names            
  6086.                                                                                 
  6087. 38      POTEXT.TFT      LEVEL                   9       Island names (diacritica
  6088. l)                                                                              
  6089. 39      POTEXT.TFT      LEVEL                   10      Desert names            
  6090.                                                                                 
  6091. 40      POTEXT.TFT      LEVEL                   11      Desert names (diacritica
  6092. l)                                                                              
  6093. 41      POTEXT.TFT      SYMBOL                  1       Black annotation        
  6094.                                                                                 
  6095. 42      POTEXT.TFT      SYMBOL                  4       Blue annotation         
  6096.                                                                                 
  6097.  
  6098.  25. 9 Polygons                                          
  6099.        --------
  6100.  
  6101. You can build polygons from the line data within OzGIS in the usual way.        
  6102.                                                                                 
  6103. However, any polygons that are not complete (closed) will be dropped. This means
  6104. that polgons around the edge of tiles disappear. In some cases there seems to be
  6105. additional data which may help e.g. there is not only Coast lines but also coast
  6106. closure lines.                                                                  
  6107.                                                                                 
  6108. Within the BROWSE library there is a feature code 9 which gives boundary lines  
  6109. so extract line feature 9 as well as feature 2=coast. You will find that you    
  6110. then get polgons for the whole rectangle (-180,-90) to (180,90). You should     
  6111. however be able to edit the output from OZDCW to throw away the type 9 records  
  6112. that are not required (look for 90.0).                                          
  6113.                                                                                 
  6114.  
  6115.  25.10 Summary                                           
  6116.        -------
  6117.  
  6118. . select the library (BROWSE, SASAUS etc)                                       
  6119.                                                                                 
  6120. . OZDCW or VPFDUMP the file CAT. to find the directories\coverages              
  6121.                                                                                 
  6122. . OZDCW or VPFDUMP the file INT.VDT in the required directories to find the     
  6123.    feature codes                                                                
  6124.                                                                                 
  6125. . if tiled look at \TILEREF\FBR. and \TILEREF\TILEREF.AFT to find the tile      
  6126.   directory                                                                     
  6127.                                                                                 
  6128. . generate data and parameter files for importing into OzGIS with the OZDCW     
  6129.   program                                                                       
  6130.  
  6131.                                                                      117
  6132.       TXT. and xxTEXT.TFT for test                                              
  6133.       END. and xxPOINT.PFT for points                                           
  6134.       EDG. and xxLINE.LFT for lines                                             
  6135.                                                                                 
  6136.  
  6137.  25.11 Other VPF data                                    
  6138.        --------------
  6139.  
  6140. The procedure should work for other databases.                                  
  6141.                                                                                 
  6142. One restriction is that only numeric feature codes are handled. If you want to  
  6143. process databases that use text feature values (e.g. the Digital Nautical       
  6144. Chart) you will have to set up the pairs of files in the usual way, but the     
  6145. edit the .PRM file to change all to text feature vales to numbers.              
  6146.                                                                                 
  6147.  
  6148.                                                                      118
  6149.                      A. MAP DATA FORMATS                                  
  6150.                        ================
  6151.  
  6152.                                                                                 
  6153.                                                                                 
  6154. This appendix describes the data formats supported.                             
  6155.                                                                                 
  6156.                                                                                 
  6157. You obtain your data on a file in one of the following formats                  
  6158. and use the appropriate option to read that file and create an OzGIS file       
  6159. that can be used for mapping.                                                   
  6160.                                                                                 
  6161.                                                                                 
  6162.                                                                                 
  6163.                                                                                 
  6164.  
  6165.   A. 1 Introduction                                      
  6166.       ------------
  6167.  
  6168. The OzGIS system was designed to accept data from external sources.             
  6169.                                                                                 
  6170. These data may be supplied in standard formats that are supported by the        
  6171. IMPORT DATA FILES option in the top menu.                                       
  6172.                                                                                 
  6173. If not, data will  have to be reformatted into one of the system formats        
  6174. before use.                                                                     
  6175.                                                                                 
  6176. Map objects are identified by 10 character keys e.g. PARIS, NEW YORK, 12345     
  6177.                                                                                 
  6178. Where keys are generated within OzGIS they are usually left aligned numbers.    
  6179.  
  6180.   A. 2 OzGIS data Formats                                
  6181.       ------------------
  6182.  
  6183. Every type of file has a standard format within OzGIS.                          
  6184.                                                                                 
  6185. The data files have been designed with a simple format which can be easily      
  6186. generated on computer systems.                                                  
  6187.                                                                                 
  6188. Most data are held as character files so that they can be generated by          
  6189. programs with, for example, database system export procedures, formatted        
  6190. FORTRAN write statements, or by a text editor.  The record lengths are up to    
  6191. 80 bytes long.                                                                  
  6192.                                                                                 
  6193. Each file starts with a comment record of up to 80 characters, which should     
  6194. be used to hold a meaningful description of the file.  The OzGIS system         
  6195. will display this comment when data files are interrogated, so it is in         
  6196. your interest to make the comments meaningful.  This record must contain        
  6197. at least one non-blank character.                                               
  6198.                                                                                 
  6199. Data values are entered in record fields that are multiples of 10 bytes.        
  6200. The following computer restrictions apply:                                      
  6201.                                                                                 
  6202.      -  Character data (e.g. zone names) are usually left justified and         
  6203.         blank filled.  Sorted character strings must conform to the ASCII       
  6204.         collating sequence.                                                     
  6205.                                                                                 
  6206.  
  6207.                                                                      119
  6208.      -  All real values (i.e. with decimal points) can be placed anywhere       
  6209.         in the 10 byte fields, but the decimal points must be included.         
  6210.                                                                                 
  6211.      -  All integer values must be right justified in the 10 byte fields.       
  6212.         Their values must be within the range the computer is capable of        
  6213.         handling.                                                               
  6214.                                                                                 
  6215. While the file formats are defined as fixed size fields, variable formats can   
  6216. be used, but numbers must be delimitted by commas and text fields must          
  6217. be enclosed in """" pairs.                                                      
  6218.                                                                                 
  6219. The maximum numbers of some data items that can be handled                      
  6220. are system parameters. Refer to the Appendix.                                   
  6221.  
  6222.   A. 3 Description of File Formats                       
  6223.       ---------------------------
  6224.  
  6225. The formats for describing the data files in the following sections are         
  6226. similar.                                                                        
  6227.                                                                                 
  6228. The number of bytes in the field is given at the start of the line.  If         
  6229. there are several values in a format, this condition is indicated               
  6230. differently (e.g. 8 x 10 implies eight fields of 10 bytes).                     
  6231.                                                                                 
  6232. The information on the next line is the type of data in a field:                
  6233.                                                                                 
  6234.      byte     = character                                                       
  6235.      real     = number containing a decimal point                               
  6236.      integer  = number without a decimal point                                  
  6237.  
  6238.                                                                      120
  6239.  
  6240.   A. 4 Format of attribute files                         
  6241.       -------------------------
  6242.  
  6243.  
  6244.   A. 4. 1 Preprocessing                                     
  6245.           -------------
  6246.  
  6247. Attribute data are often obtained from Census Bureaux. These data are seldom    
  6248. what is required, so will need processing before use.                           
  6249.                                                                                 
  6250. Data often need normalising to allow for the differences in zone sizes. This is 
  6251. done by arithmetic operations where new attributes are derived by dividing by   
  6252. total population, area etc.                                                     
  6253.                                                                                 
  6254. Also, data often need amalgamation e.g. census age groups to get the required   
  6255. group.                                                                          
  6256.  
  6257.   A. 4. 2 OzGIS Standard Format                             
  6258.           ---------------------
  6259.  
  6260. Attribute files contain the attribute value of each zone or line or site        
  6261. for a number of attributes.  The names must correspond to those defined in      
  6262. a geographic file.                                                              
  6263.                                                                                 
  6264. The attribute description is used by OzGIS as a heading in a map                
  6265. displaying the attribute.  The units description is used by OzGIS as a          
  6266. heading to the class values in the map legend.                                  
  6267.                                                                                 
  6268. For efficient use of the system and to facilitate disc file management,         
  6269. files should contain as many attributes as possible (to avoid having            
  6270. separate files for each attribute).                                             
  6271.                                                                                 
  6272. Attribute files will usually be prepared by special programs which extract      
  6273. data from a data-base and convert attribute values into the OzGIS               
  6274. format.                                                                         
  6275.                                                                                 
  6276.      Comment Record:                                                            
  6277.      80       byte      comment describing the data                             
  6278.                                                                                 
  6279.      Header Record:                                                             
  6280.      10       integer   number of attributes                                    
  6281.      10       integer   number of names                                         
  6282.      10       real      value used to indicate missing data                     
  6283.                                                                                 
  6284.      Name Records:                                                              
  6285.      8 x 10   byte      names, sorted into ascending order                      
  6286.                                                                                 
  6287. Sets of records follow to define the attributes:-                               
  6288.                                                                                 
  6289.      Definition Record:                                                         
  6290.      30       byte      attribute description                                   
  6291.      10       byte      units description                                       
  6292.                                                                                 
  6293.      Values Records:                                                            
  6294.      8 x 10   real      attribute values for zones, lines or sites in name      
  6295.                         order                                                   
  6296.  
  6297.                                                                      121
  6298.                                                                                 
  6299.  
  6300.   A. 4. 3 Sample attribute file DEMOATTR.DAT                
  6301.           ----------------------------------
  6302.  
  6303. DEMOATTR.DAT   - ATTRIBUTES FOR SIMPLE 3 ZONE TEST MAP                          
  6304.          5         6     -9.9                                                   
  6305. ABCDEFGHIJZONE 1    ZONE 2    ZONE 3    ZONE 4    ZONE Z                        
  6306. FIRST STATISTIC               FIRST UNITS                                       
  6307.        1.0       2.0       3.0       4.0       5.0       6.0                    
  6308. SECOND STAT                   SECOND UNITS                                      
  6309.      100.0     200.0      -9.9     400.0     500.0     600.0                    
  6310. THIRD STAT                    3RD UNITS                                         
  6311.        0.1       0.9       0.3       0.7       0.1       0.8                    
  6312. FOURTH STATS                  4TH UNIT                                          
  6313.        1.0       2.0       3.0       3.0       2.5       1.5                    
  6314. FIFTH STAT                    5TH UNIT                                          
  6315.        9.0       6.0       3.0       2.0       6.0       8.0                    
  6316.  
  6317.   A. 4. 4 Simple Attribute format (tabular database format) 
  6318.           -------------------------------------------------
  6319.  
  6320.                                                                                 
  6321. Many data retrieval systems (e.g. ORACLE,SAS) produce attribute data in a form  
  6322. where for each attribute the names and their values are given.                  
  6323.                                                                                 
  6324. This tabular format is supported in OzGIS although there are some restrictions  
  6325. on its use.  The list of names is obtained from the first attribute; hence      
  6326. no new names can occur in following attributes (although names may be           
  6327. missing).  A set of data records for an attribute is assumed to finish (and     
  6328. the next set start) when the attribute description & units changes.             
  6329.                                                                                 
  6330.      Comment record:                                                            
  6331.      80      byte       Comment describing the data                             
  6332.                                                                                 
  6333.      Data records:                                                              
  6334.      10      byte       name                                                    
  6335.      10      real       value                                                   
  6336.      30      byte       attribute description                                   
  6337.      10      byte       attribute units                                         
  6338.                                                                                 
  6339.  
  6340.   A. 4. 5 Sample simple attribute file DEMOSASA.DAT         
  6341.           -----------------------------------------
  6342.  
  6343. SIMPLE FORMAT ATTRIBUTE FILE - DEMOSASA.DAT                                     
  6344. TOP            1.0   DESCRIPTION A                 UNITS A                      
  6345. SQUARE         2.0   DESCRIPTION A                 UNITS A                      
  6346. DIAMOND        3.0   DESCRIPTION A                 UNITS A                      
  6347. TRIANGLE       4.0   DESCRIPTION A                 UNITS A                      
  6348. TOP            1.0   DESCRIPTION B                 UNITS B                      
  6349. DIAMOND        3.0   DESCRIPTION B                 UNITS B                      
  6350. SQUARE         2.0   DESCRIPTION B                 UNITS B                      
  6351. TRIANGLE       4.0   DESCRIPTION B                 UNITS B                      
  6352. TOP            1.0   DESCRIPTION C                 UNITS C                      
  6353. SQUARE         2.0   DESCRIPTION C                 UNITS C                      
  6354. DIAMOND        3.0   DESCRIPTION C                 UNITS C                      
  6355. TRIANGLE       4.0   DESCRIPTION C                 UNITS C                      
  6356.  
  6357.                                                                      122
  6358. TOP            1.0   DESCRIPTION D                 UNITS D                      
  6359. TRIANGLE       4.0   DESCRIPTION D                 UNITS D                      
  6360. DIAMOND        3.0   DESCRIPTION D                 UNITS D                      
  6361. DIAMOND        3.0   DESCRIPTION E                 UNITS E                      
  6362. TRIANGLE       4.0   DESCRIPTION E                 UNITS E                      
  6363.                                                                                 
  6364.  
  6365.   A. 4. 6 Spreadsheet WK1 format (Lotus, Excel etc)         
  6366.           -----------------------------------------
  6367.  
  6368.                                                                                 
  6369. The WK1 file format is used to import/export data between OzGIS and spreadsheet 
  6370. and database systems.                                                           
  6371.                                                                                 
  6372. Refer to the chapter on the WK1 interface to systems.                           
  6373.                                                                                 
  6374. Data from spreadsheets can be input in Lotus 1-2-3 format (WK1).                
  6375.                                                                                 
  6376. The spreadsheet must be set up in a fixed format:                               
  6377.                                                                                 
  6378. The data values are in a matrix with the values for the zones (or sites or      
  6379. lines) in columns and the different attributes across in the rows.              
  6380. Values can be missing and can be integer or floating point.                     
  6381.                                                                                 
  6382. The first column must contain labels which are the 10 character zone (site etc) 
  6383. names, beginning at row 3. These must be SORTED in ascending order.             
  6384.                                                                                 
  6385. The top row contains labels that are the (up to) 30 character attribute         
  6386. descriptions starting at column 2.                                              
  6387.                                                                                 
  6388. The second row is the 10 character attribute descriptions.                      
  6389. This is recommended but does not have to be present as some systems (e.g. MS    
  6390. ACCESS) do not allow units to be defined.                                       
  6391.                                                                                 
  6392. e.g. the file DEMO123.dat can be read into the spreadsheet. It should look      
  6393. like:                                                                           
  6394.                                                                                 
  6395.                  POPULATION GROWTH   SALES                                      
  6396.                  NUMBER              $                                          
  6397. ABBOTSFORD                 7418      237                                        
  6398. BURWOOD E                  9925      955                                        
  6399. CONCORD                    8984      202                                        
  6400. CROYDON N                  9369      298                                        
  6401. CROYDON W                   735                                                 
  6402. FIVE DOCK                  9903      716                                        
  6403. HABERFIELD                           727                                        
  6404. HOMEBUSH                   6631      704                                        
  6405. HUDSONPARK                 4668       71                                        
  6406. MORTLAKE                   1725      198                                        
  6407. STRATHFIELD                6285      663                                        
  6408. YARALLA                    9875      516                                        
  6409.                                                                                 
  6410. For example, with Microsoft Excel for Windows, the test file can be read by     
  6411. choosing the option "Open" from the "File" menu and giving the test file as     
  6412. \OZDEMO\DEMO123.DAT. A spreadsheet in the above format can be output by         
  6413. selecting the "Save As" option from the "Files" menu and using the WK1 format   
  6414. option.                                                                         
  6415.                                                                                 
  6416.  
  6417.                                                                      123
  6418.  
  6419.   A. 4. 7 ATLAS Data files                                  
  6420.           ----------------
  6421.  
  6422. Attribute data files for the Atlas mapping system come as pairs of files, a     
  6423. format file and a data file.                                                    
  6424.                                                                                 
  6425. The first record of the format file is a map name, which is ignored.            
  6426. There follows a a set of records, each of which gives the name of an            
  6427. attribute. For example, the following file specifies two attributes:            
  6428.                                                                                 
  6429. "      Bundesland$"                                                             
  6430. "Population 1984        Totale Population in Tausend"                           
  6431. "Ausdehnung in qkm      Ausdehnung in Quadratkilometer"                         
  6432.                                                                                 
  6433.                                                                                 
  6434. The data files have one record for each map item. Each record starts with the   
  6435. item name, and is followed by the values. The values are in the same order as   
  6436. the attribute names and there is one per attribute (2 here). Values can be in   
  6437. integer, decimal point or exponential formats. A value of 1.0E36 is missing     
  6438. data. For example:                                                              
  6439.                                                                                 
  6440. "SCHLES.-HOLSTEIN", 2615 , 157.21                                               
  6441. "HAMBURG", 1.23E21 , 1.0E36                                                     
  6442. "BREMEN", 671 , 404                                                             
  6443. "NIEDERSACHSEN", 7230 , 47.447                                                  
  6444. "NORDR.-WESTFALEN", 16.777 , 34061                                              
  6445. "HESSEN", 5548 , 21114                                                          
  6446. "RHEINLAND-PFALZ", 3627 , 198.48                                                
  6447. "SAARLAND", 1052 , 25.71                                                        
  6448. "B.-WUERTTEMBERG", 9240 , 35751                                                 
  6449. "BAYERN", 10964 , 70552                                                         
  6450. "BERLIN", 1850 , 480                                                            
  6451.                                                                                 
  6452. Names and attribute descriptions must be delimited by apostrophes as shown,     
  6453. and values must be comma delimited. Only the first 10 characters of a zone etc  
  6454. name is used and only the first 30 characters of a description.                 
  6455.                                                                                 
  6456. Two data files have to be specified. The first is the format file,              
  6457. the second the Atlas data file. The format file is handled as a parameter file  
  6458. within the entry process so can be present on disk as a file named with         
  6459. extension .PRM. In practise your two files will probably have the Atlas standard
  6460. file names with extensions FMT and DAT and you give the full file names when    
  6461. asked for them.                                                                 
  6462.                                                                                 
  6463. For example, you might have a pair of files named EUROPE.FMT and EUROPE.DAT     
  6464. so you give the parameter file as EUROPE.FMT and the data file as either EUROPE 
  6465. or EUROPE.DAT (as DAT is the default extension).                                
  6466.  
  6467.   A. 4. 8 LAMM format                                       
  6468.           -----------
  6469.  
  6470. The LAMM package was developed at the CSIRO Division of Building Research. The  
  6471. format is supported as it is the only suitable format for mapping available in  
  6472. the Australian Bureau of Statistics GEOSTATS system.                            
  6473.                                                                                 
  6474. The first record gives the number of map items and the number of attributes     
  6475.  
  6476.                                                                      124
  6477. respectively.                                                                   
  6478.                                                                                 
  6479. The attribute names follow, one per record                                      
  6480.                                                                                 
  6481. Finally the value records are given, being the name followed by the values.     
  6482. The records are sorted into ascending name order. Values are separated by       
  6483. blanks or commas.                                                               
  6484.                                                                                 
  6485. An example file is DEMOLAMM:                                                    
  6486.                                                                                 
  6487. 12,8                                                                            
  6488. MALES 35 - 44 (81)                                                              
  6489. MALES 35 - 44 (86)                                                              
  6490. MALES - UNEMPLOYED (76)                                                         
  6491. MALES - UNEMPLOYED (81)                                                         
  6492. MALES - UNEMPLOYED (86)                                                         
  6493. INCOME MALES $18001-$26000 (76)                                                 
  6494. INCOME MALES $18001-$26000 (81)                                                 
  6495. INCOME MALES $18001-$26000 (86)                                                 
  6496. 'ABBOTSFORD'   69 0 14 27 48 0 51 55                                            
  6497. 'BURWOOD E'    223 0 48 134 89 0 218 397                                        
  6498. 'CONCORD'      102 0 5 12 29 0 109 197                                          
  6499. 'CROYDON N'    161 0 27 50 53 0 156 284                                         
  6500. 'CROYDON W'    180 0 24 36 76 0 307 241                                         
  6501. 'FIVE DOCK'    50 0 20 2 0 0 19 11                                              
  6502. 'HABERFIELD'   126 0 28 20 20 0 208 185                                         
  6503. 'HOMEBUSH'     114 0 26 51 37 0 165 212                                         
  6504. 'HUDSONPARK'   243 0 65 99 65 0 231 385                                         
  6505. 'MORTLAKE'     0 0 0 0 2 0 0 113                                                
  6506. 'STRATHFIELD'  100 0 4 7 10 0 74 70                                             
  6507. 'YARALLA'      7 0 16 2 0 0 4 3                                                 
  6508.                                                                                 
  6509.  
  6510.   A. 4. 9 Comma delimited format                            
  6511.           ----------------------
  6512.  
  6513. The comma delimited format consists of a set of records:                        
  6514.                                                                                 
  6515. Each record has a series of values separated by commas.                         
  6516.                                                                                 
  6517. The first record gives the "column" names. The first is the map item names, and 
  6518. the others are the attribute descriptions.                                      
  6519.                                                                                 
  6520. The following records are the data:                                             
  6521.                                                                                 
  6522. The first value is the item (zone,line or site) name and there follows one      
  6523. number for each attribute.                                                      
  6524.                                                                                 
  6525.                                                                                 
  6526. The file DEMOCOMD.DAT looks like:                                               
  6527.                                                                                 
  6528. "ZONE","DOGS","CATS","BIRDS","RATS","FISH","HENS","SNAKES","COWS"               
  6529. "Australia",1,0,0,0,36,40,0,400.123                                             
  6530. "Europe",123.45,0,4,3,47,70,3,0                                                 
  6531.                                                                                 
  6532.  
  6533.                                                                      125
  6534.  
  6535.   A. 4.10 Australian 1991 Census format                     
  6536.           -----------------------------
  6537.  
  6538.                                                                                 
  6539. The Community profile floppy disk software from the ABS generates comma         
  6540. delimited files that are the same as the above comma delimted format except     
  6541. for an extra (second) column that gives a description for the Census regions.   
  6542.                                                                                 
  6543. The software drops the extra column.                                            
  6544.                                                                                 
  6545.  
  6546.   A. 4.11 Other attribute data formats                      
  6547.           ----------------------------
  6548.  
  6549. Other formats will be supported as required.                                    
  6550.                                                                                 
  6551. We will support any formats for major data suppliers, but you must send sample  
  6552. data and documentation.                                                         
  6553.                                                                                 
  6554. We will also attempt to support file formats from other packages.               
  6555.  
  6556.                                                                      126
  6557.  
  6558.   A. 5 Text Attribute files                              
  6559.       --------------------
  6560.  
  6561. Text attribute files allow miscellaneous information to be attached to map      
  6562. items and accessed during map interrogation                                     
  6563.                                                                                 
  6564. The file format is:                                                             
  6565.                                                                                 
  6566. The first record is an 80 character comment                                     
  6567.                                                                                 
  6568. Sets of records follow for each map item:                                       
  6569.    The item name (1-10 characters) preceded by $                                
  6570.    Any number of lines of text (up to 80 characters long)                       
  6571.                                                                                 
  6572. The $ indicates the start of a new item                                         
  6573.                                                                                 
  6574. An example file is DEMOTEXT.DAT                                                 
  6575.                                                                                 
  6576. A file could look like:                                                         
  6577.                                                                                 
  6578. SALES TERRITORY DEFINITIONS                                                     
  6579. $Terr 1                                                                         
  6580. North West NSW                                                                  
  6581. Fred Smith                                                                      
  6582. 1991 Target $200,000                                                            
  6583. $Terr 2                                                                         
  6584. Central Queensland                                                              
  6585. Salley Jones                                                                    
  6586. 1991 Target $320,000                                                            
  6587. $Terr 3                                                                         
  6588. Tasmania                                                                        
  6589. The Big Bopper                                                                  
  6590. 1991 Target $10,000                                                             
  6591.  
  6592.                                                                      127
  6593.  
  6594.   A. 6 Standard OzGIS formats for geographic files       
  6595.       -------------------------------------------
  6596.  
  6597.  
  6598.   A. 6. 1 General Information                               
  6599.           -------------------
  6600.  
  6601. The standard data format reflects the internal topological file structure.      
  6602.                                                                                 
  6603. In practice, a complete data file is seldom available. It is more common to     
  6604. bring in just points (as a map and points partition) or lines (as a map and     
  6605. segments partition). Zones are usually formed from the segments by using the    
  6606. zone/polygon building process.                                                  
  6607.                                                                                 
  6608. Coordinates are usually given either in degrees (for lat,long) or in metres /   
  6609. feet for UTM.                                                                   
  6610.  
  6611.   A. 6. 2 Structure of data                                 
  6612.           -----------------
  6613.  
  6614. Geographic files contain several partitions.  The first must be the map         
  6615. partition, and can be followed by at most one of each of zones, polygons,       
  6616. lines, segments and points partitions.                                          
  6617.                                                                                 
  6618. Each partition is preceded by a type record, which is one of MAP, ZONES,        
  6619. POLYGONS, LINES or POINTS; for example, a zones file must  have the             
  6620. following structure:                                                            
  6621.                                                                                 
  6622.      Comment record                                                             
  6623.      MAP                                                                        
  6624.      map records                                                                
  6625.      POLYGONS                                                                   
  6626.      polygon records                                                            
  6627.      ZONES                                                                      
  6628.      zone records                                                               
  6629.      SEGMENTS                                                                   
  6630.      segment records                                                            
  6631.                                                                                 
  6632. Different partitions are present (the MAP partition is always first)            
  6633.  according to the type of data:-                                                
  6634.                                                                                 
  6635. Files which describe zones have a ZONES partition to define                     
  6636. the zones, a POLYGONS partion to give the polygons that                         
  6637. bound each zone (including lakes and islands), and a SEGMENTS partition         
  6638. to define the coordinate points that draw the segments along the                
  6639. polygon boundaries.                                                             
  6640.                                                                                 
  6641. Sites files have a POINTS partition to give the site names                      
  6642. and locations.                                                                  
  6643.                                                                                 
  6644. Lines files have a LINES partition to define the line names                     
  6645. and a SEGMENTS partion to define the coordinate points in the                   
  6646. segments that make up the lines.                                                
  6647.                                                                                 
  6648. Line overlays are defined by SEGMENTS partitions.                               
  6649.                                                                                 
  6650.  
  6651.                                                                      128
  6652. Marker and name overlays are defined by POINTS partitions.                      
  6653.                                                                                 
  6654. Coordinate data should be entered in standard units.  Coordinate pairs are      
  6655. always in the order (X,Y) (e.g. (Longitude, Latitude)).  Note that latitude     
  6656. must be entered as a negative number in the Southern Hemisphere.                
  6657.                                                                                 
  6658. Data entered in latitude-longitude projection can be converted to other         
  6659. projections.                                                                    
  6660. Feature codes may be included to give a classification of geographic items.     
  6661. e.g. segments may be classified as different types of roads.                    
  6662.                                                                                 
  6663. All geographic regions (windows) are given in actual coordinate values in       
  6664. the order:  X-minimum, X-maximum, Y-minimum, Y-maximum.                         
  6665.  
  6666.   A. 6. 3 Internal Data                                     
  6667.           -------------
  6668.  
  6669. The geographic data are held internally as a word-addressable                   
  6670. random access disk file.                                                        
  6671. The file structure reflects the data structure with the necessary               
  6672. indexing etc for processing.                                                    
  6673. Additional data are also generated for efficient processing:-                   
  6674.                                                                                 
  6675. Polygons are held in display order so the map zones can be                      
  6676. rapidly displayed.                                                              
  6677.                                                                                 
  6678.  A POINTS partition is generated internally by OzGIS                            
  6679. for the centroids of the zone polygons.                                         
  6680. This enables markers or zone names to be overlayed over                         
  6681. a zones map, and for the points to be displayed as sites                        
  6682. where the site names are the zone names.                                        
  6683.                                                                                 
  6684. Lists of names are also generated for zones, lines or sites                     
  6685. for rapid retrieval.                                                            
  6686.  
  6687.   A. 6. 4 Comment Record                                    
  6688.           --------------
  6689.  
  6690.      80      byte       comment describing the data                             
  6691.                                                                                 
  6692.  
  6693.   A. 6. 5 Map Partition                                     
  6694.           -------------
  6695.  
  6696. This partition contains general information about the file (map) and must       
  6697. be the first partition.                                                         
  6698.                                                                                 
  6699.      Type Record:                                                               
  6700.      3        byte      partition header = MAP                                  
  6701.                                                                                 
  6702.      Window Record:                                                             
  6703.      4 x 10  real       the region covered by the file                          
  6704.                                                                                 
  6705.      Projection Record: (now redundant)                                         
  6706.      10 integer         Map projection code                                     
  6707.                         0=none, 1=lat-long degrees                              
  6708.      10       integer   type of zones (optional)                                
  6709.      10       integer   tolerance for joining line segments endpoints into      
  6710.  
  6711.                                                                      129
  6712.                         polygons. Values range 0-3, usually zero                
  6713.                         Used when endpoints calculated by spatial operations    
  6714.                         e.g. polygon intersection, when arithmetic roundoff     
  6715.                         can cause joining to fail                               
  6716.                                                                                 
  6717.  
  6718.   A. 6. 6 Zones Partition                                   
  6719.           ---------------
  6720.  
  6721. This partition defines the zones in the geographic region.                      
  6722.                                                                                 
  6723. Each zone is defined by one or more polygons.  A zone may consist of a          
  6724. polygon, several separated polygons, polygons with interior polygons of         
  6725. other zones, etc.                                                               
  6726.                                                                                 
  6727. If a zones partition is present, a polygons partition with the referenced       
  6728. must be given.                                                                  
  6729.                                                                                 
  6730. The partition may be used as a polygon underlay and feature codes may be used   
  6731. to give a classification e.g. the polygons may be different soil types.         
  6732.                                                                                 
  6733.      Type Record:                                                               
  6734.      5        byte      partition header = ZONES                                
  6735.                                                                                 
  6736.      Definition Record:                                                         
  6737.      10       integer   number of zones                                         
  6738.      10       integer   number of feature codes                                 
  6739.                                                                                 
  6740.      Feature code Records (if required):                                        
  6741.      8 x 10  integer    feature codes                                           
  6742.                                                                                 
  6743.      Zone Records:                                                              
  6744.      10       byte      zone name, usually left justified, blank filled         
  6745.      10       integer   number of polygons in the zone                          
  6746.                                                                                 
  6747.      Polygon Records:                                                           
  6748.      8 x 10  integer    identifying numbers of the polygons                     
  6749.  
  6750.   A. 6. 7 Line Partition                                    
  6751.           --------------
  6752.  
  6753. The partition defines networks of lines (e.g. roads, rivers).  Each network     
  6754. has a name and is specified in terms of line segments.The name can be used      
  6755. to apply quantised attribute data.                                              
  6756.                                                                                 
  6757. Type record:                                                                    
  6758.      5       byte       partition Leader = LINES                                
  6759.                                                                                 
  6760. Header record:                                                                  
  6761.      10      integer    number of lines                                         
  6762.                                                                                 
  6763.                                                                                 
  6764. Line record:                                                                    
  6765.      10      byte       line name, usually left justified, blank                
  6766.                         filled                                                  
  6767.      10      integer    number of segments forming the line                     
  6768.                                                                                 
  6769.                                                                                 
  6770.  
  6771.                                                                      130
  6772. Region Record:                                                                  
  6773.      4x10    real       line limits (window)                                    
  6774.                         X minimum, X-maximum, Y-minimum, Y-maximum)             
  6775.                                                                                 
  6776. Segments Records:                                                               
  6777.      8x10    integer    the identifying numbers of the line segments.           
  6778.  
  6779.   A. 6. 8 Polygons Partition                                
  6780.           ------------------
  6781.  
  6782. A polygon defines an enclosed geographic area.  Each polygon is specified       
  6783. in terms of the line segments which constitute its boundary.  If a zones        
  6784. partition is given, every polygon referenced by the zones must be defined.      
  6785.                                                                                 
  6786. The centroid or internal point of a polygon is be used by OzGIS to              
  6787. locate text (zone names) or graphic symbols;                                    
  6788. a points partition is generated.                                                
  6789.                                                                                 
  6790. Type Record:                                                                    
  6791.      8        byte      partition header = POLYGONS                             
  6792.                                                                                 
  6793.      Header Record:                                                             
  6794.      10       integer   number of polygons                                      
  6795.                                                                                 
  6796. A set of records follow for each polygon:-                                      
  6797.                                                                                 
  6798.      Definition Record:                                                         
  6799.      10       integer   polygon identification number                           
  6800.      10       byte      name of zone enclosed by polygon                        
  6801.      10       integer   number of lines forming the polygon boundary            
  6802.      10       integer   level of polygon for display using                      
  6803.                         polygon fill 0=standard, 1=lakes, 2=islands in          
  6804.                         lakes etc. (range 0-5)                                  
  6805.                                                                                 
  6806.      Region Record:                                                             
  6807.      4 x 10   real      polygon limits (window)                                 
  6808.                         (X-minimum, X-maximum, Y-minimum, Y-maximum)            
  6809.                                                                                 
  6810.      2 x 10   real      centroid or labelling point (X,Y) in the polygon        
  6811.                         (set to centre of window if not given)                  
  6812.      10       real      area of polygon                                         
  6813.                         (calculated if not given)                               
  6814.                                                                                 
  6815.      Segments Records:                                                          
  6816.      8 x 10   integer   the identifying numbers of the segments + ve if         
  6817.                         segment is clockwise, -ve if anticlockwise.             
  6818.  
  6819.   A. 6. 9 Segments Partition                                
  6820.           ------------------
  6821.  
  6822. Line segments are defined by a set of points connected by straight lines.       
  6823.                                                                                 
  6824. Segments may define the boundaries of zones, define line                        
  6825. networks, or line overlays.                                                     
  6826.                                                                                 
  6827. When a segment is a boundary segment of a polygon, it can be the boundary       
  6828. of at most two polygons.                                                        
  6829.   In other words, the polygons must be a unique tessellation of the geographic r
  6830.  
  6831.                                                                      131
  6832.                                                                                 
  6833. When the segments define polygon boundaries, the partition should contain       
  6834. only the segments of the polygons, and the records must contain the names       
  6835. of the zones on each side.  Left and right zones are defined by the             
  6836. direction implied by the sequence of points in the line.  The zone names        
  6837. must correspond to those defined in the zones partition.  The special zone      
  6838. name OUTSIDE (left aligned)                                                     
  6839. should be used when the line is at the edge of the map, or on                   
  6840. the boundary of void areas.                                                     
  6841.                                                                                 
  6842. Line segments (of polygons)                                                     
  6843.  must be closed (i.e., the last point in a segment must be the                  
  6844. first point of another segment), and segments must not cross or have loops.     
  6845. Further, segment must not be repeated.                                          
  6846.                                                                                 
  6847. Segments that are to be used as geographic overlays may have feature codes to   
  6848. give a classification e.g. different types of rivers.                           
  6849.                                                                                 
  6850. Address information can be present. This consists of the name of the street     
  6851. followed by 0, 1 or 2 sets of entries for street number ranges and postal codes.
  6852. These zip codes are optional as are the number ranges. If 2 ranges are given    
  6853. one is odd and the other even numbers. The start and end values are given       
  6854. according to the direction of the numbers and the digitising direction.         
  6855.                                                                                 
  6856.      Type Record:                                                               
  6857.      8        byte      partition header = SEGMENTS                             
  6858.                                                                                 
  6859.      Header Record:                                                             
  6860.      10       integer   number of segments                                      
  6861.                                                                                 
  6862. A set of records follows for each segment.                                      
  6863.                                                                                 
  6864.      Definition Record:                                                         
  6865.      10       integer   identifying number                                      
  6866.      10       byte      name of left zone (if line is part of a zone            
  6867.                         boundary)                                               
  6868.      10       byte      name of right zone (if line is part of a zone           
  6869.                         boundary)                                               
  6870.      10       integer   number of points in segment                             
  6871.      10       integer   number of feature codes                                 
  6872.      10       byte      non blank indicates that address info follows           
  6873.      10       byte      name of line network, default set to ldent number       
  6874.                         this is also the name for interrogation                 
  6875.                                                                                 
  6876.      Feature code Records (if required):                                        
  6877.      8 x 10  integer    feature codes                                           
  6878.                                                                                 
  6879.      Address Records (if required):                                             
  6880.      10       byte      name of street, park etc                                
  6881.      6 x 10  integer    start number, end number, postal (ZIP) code, followed   
  6882.                         by optional second set                                  
  6883.                                                                                 
  6884.      Point Records:                                                             
  6885.      8 x 10   real      (X,Y) coordinate pairs (4 per record)                   
  6886.  
  6887.                                                                      132
  6888.  
  6889.   A. 6.10 Points Partitions                                 
  6890.           -----------------
  6891.  
  6892. The partition contains a set of points or sites at which symbols can be         
  6893. overlayed on the map.  The site name can be used to apply quantised             
  6894. attribute data or used to annotate the points.                                  
  6895.                                                                                 
  6896. Feature codes can define a classification for display as sites.                 
  6897.                                                                                 
  6898. Type Record:                                                                    
  6899.      6        byte      partition header = POINTS                               
  6900.                                                                                 
  6901.      Header Record:                                                             
  6902.      10       integer   number of points                                        
  6903.                                                                                 
  6904.      Point Records:                                                             
  6905.      10       real      X-coordinate value                                      
  6906.      10       real      Y-coordinate value                                      
  6907.      40       byte      site name or annotation                                 
  6908.      10       integer   number of feature codes                                 
  6909.                                                                                 
  6910.      Feature code Records (if required):                                        
  6911.      8 x 10  integer    feature codes                                           
  6912.                                                                                 
  6913. Note that only the first 10 characters are used for the site name.              
  6914.  
  6915.   A. 6.11 Sample boundaries geographic file DEMOZSEG.DAT    
  6916.           ----------------------------------------------
  6917.  
  6918. Geographic data for zones (e.g. Census districts) are usually brought in as the 
  6919. line segments that form the boundaries of the zones.                            
  6920.                                                                                 
  6921. The boundary segments contain the (X,Y) vertices that make up the line and the  
  6922. names of the zones on each side of the line.                                    
  6923.                                                                                 
  6924.                                                                                 
  6925. These data are usually entered via the IMPORT DATA FILES option in the top menu,
  6926. then excessive vertices discarded (thinned) using PREPARE DATA FOR DISPLAY, and 
  6927. then the full zone / polygon/ line segment / centroids structure built using    
  6928. BUILD TOPOLOGY FROM LINES SEGMENTS to prepare for display.                      
  6929.                                                                                 
  6930. For example, to extract ZIP code boundaries from USA TIGER files, the left and  
  6931. right ZIP codes are extracted from the records and formed into left aligned     
  6932. zone names, and the latitude / longitude vertices are also extracted. If the    
  6933. left and right zone names are the same the segments are internal to the zone    
  6934. and can be ignored.                                                             
  6935.                                                                                 
  6936. The following illustrates the standard format used to enter such data. Note     
  6937. that the MAP partition is required but that the extent need not be given.       
  6938.                                                                                 
  6939. EXAMPLE ZONE BOUNDARY SEGMENTS THAT CAN BE BUILT INTO ZONES - DEMOZSEG.DAT      
  6940. MAP                                                                             
  6941.   0.0       0.0       0.0       0.0                                             
  6942.          0                                                                      
  6943. SEGMENTS                                                                        
  6944.         10                                                                      
  6945.  
  6946.                                                                      133
  6947.        107ZONE 1    OUTSIDE            2                                        
  6948. 102.00    503.00    114.00    503.00                                            
  6949.        125ZONE 2    ZONE 1             2                                        
  6950. 102.00    503.00    110.00    513.00                                            
  6951.        143ZONE 1    ZONE 3             2                                        
  6952. 114.00    503.00    110.00    513.00                                            
  6953.        161ZONE 3    OUTSIDE            6                                        
  6954. 114.00    503.00    115.00    505.00    116.00    507.00    117.00    509.00    
  6955. 118.00    511.00    119.00    513.00                                            
  6956.        187ZONE 2    ZONE 3             2                                        
  6957. 110.00    513.00    119.00    513.00                                            
  6958.        205ZONE 2    OUTSIDE            4                                        
  6959. 119.00    513.00    114.00    518.00    109.00    517.00    104.00    516.00    
  6960.        227ZONE 2    OUTSIDE            2                                        
  6961. 104.00    516.00    110.00    513.00                                            
  6962.        245SURPLUS   SURPLUS            2                                        
  6963. 119.00    513.00    122.00    506.00                                            
  6964.        263OUTSIDE   ZONE 2             2                                        
  6965. 103.00    509.00    110.00    513.00                                            
  6966.        281OUTSIDE   ZONE 2             2                                        
  6967. 102.00    503.00    103.00    509.00                                            
  6968.  
  6969.   A. 6.12 Sample segments file with adddresses DEMOADDR.DAT 
  6970.           -------------------------------------------------
  6971.  
  6972. Address information can be added to line segments. Note the non-blank flag.     
  6973.                                                                                 
  6974. EXAMPLE  SEGMENTS (ROADS) WITH ADDRESSES - DEMOADDR.DAT                         
  6975. MAP                                                                             
  6976.   0.0       0.0       0.0       0.0                                             
  6977.          0                                                                      
  6978. SEGMENTS                                                                        
  6979.         10                                                                      
  6980.        107ZONE 1    OUTSIDE            2            ADDRESS                     
  6981. Great North Road                                                                
  6982.          1       666      2600                                                  
  6983. 102.00    503.00    114.00    503.00                                            
  6984.        12            ZONE 1             2          ADDRHERE                     
  6985. Molonglo Gorge                                                                  
  6986.                                                                                 
  6987. 102.00    503.00    110.00    513.00                                            
  6988.        143ZONE 1    ZONE 3             2            address                     
  6989. Burra Street                                                                    
  6990.          1        99         6        140                                       
  6991. 114.00    503.00    110.00    513.00                                            
  6992.        161                             6            address                     
  6993. Northbourne Ave                                                                 
  6994.          1        55      2602        20         66      2600                   
  6995. 114.00    503.00    115.00    505.00    116.00    507.00    117.00    509.00    
  6996. 118.00    511.00    119.00    513.00                                            
  6997.        187ZONE 2    ZONE 3             2                                        
  6998. 110.00    513.00    119.00    513.00                                            
  6999.        205                             4            address                     
  7000. Yass rd                                                                         
  7001.          1        99      2600                                                  
  7002. 119.00    513.00    114.00    518.00    109.00    517.00    104.00    516.00    
  7003.        227ZONE 2    OUTSIDE            2                                        
  7004. EPPING HWY                                                                      
  7005.  
  7006.                                                                      134
  7007.         44        22                  77         11                             
  7008. 104.00    516.00    110.00    513.00                                            
  7009.        245SURPLUS   SURPLUS            2            address                     
  7010. Hume Highway                                                                    
  7011.          1        99      2301        88         44      2304                   
  7012. 119.00    513.00    122.00    506.00                                            
  7013.        263OUTSIDE   ZONE 2             2            address                     
  7014. Mains Avenue                                                                    
  7015.          1        99      2600         6        140      2600                   
  7016. 103.00    509.00    110.00    513.00                                            
  7017.        281OUTSIDE   ZONE 2             2            address                     
  7018. Lover's Lane                                                                    
  7019.         33        11                                                            
  7020. 102.00    503.00    103.00    509.00                                            
  7021.                                                                                 
  7022. 66 >> <SS>Sample geographic file DEMOZONES.DAT                                  
  7023. The full topological geographic structure can be entered (although in practise  
  7024. this is seldom available).                                                      
  7025.                                                                                 
  7026. COMMENT LINE FOR TEST DATA     - DEMOZONE.DAT                                   
  7027. MAP                                                                             
  7028. 102.00    122.00    502.00    518.00                                            
  7029.          0                                                                      
  7030. ZONES                                                                           
  7031.          3                                                                      
  7032. ZONE 1             1                                                            
  7033.        352                                                                      
  7034. ZONE 2             2                                                            
  7035.        377       402                                                            
  7036. ZONE 3             1                                                            
  7037.        327                                                                      
  7038. POLYGONS                                                                        
  7039.          4                                                                      
  7040.        327ZONE 3             3         0                                        
  7041. 110.00    119.00    503.00    513.00    114.00    510.00                        
  7042.        187      -161       143                                                  
  7043.        352ZONE 1             3         0                                        
  7044. 102.00    114.00    503.00    513.00    108.00    506.00                        
  7045.       -125       107       143                                                  
  7046.        377ZONE 2             3         0                                        
  7047. 102.00    110.00    503.00    513.00    104.00    508.00                        
  7048.       -263      -281       125                                                  
  7049.        402ZONE 2             3         0                                        
  7050. 104.00    119.00    513.00    518.00    110.00    515.00                        
  7051.        205       227       187                                                  
  7052. SEGMENTS                                                                        
  7053.         10                                                                      
  7054.        107ZONE 1    OUTSIDE            2                                        
  7055. 102.00    503.00    114.00    503.00                                            
  7056.        125ZONE 2    ZONE 1             2                                        
  7057. 102.00    503.00    110.00    513.00                                            
  7058.        143ZONE 1    ZONE 3             2                                        
  7059. 114.00    503.00    110.00    513.00                                            
  7060.        161ZONE 3    OUTSIDE            6                                        
  7061. 114.00    503.00    115.00    505.00    116.00    507.00    117.00    509.00    
  7062. 118.00    511.00    119.00    513.00                                            
  7063.        187ZONE 2    ZONE 3             2                                        
  7064. 110.00    513.00    119.00    513.00                                            
  7065.  
  7066.                                                                      135
  7067.        205ZONE 2    OUTSIDE            4                                        
  7068. 119.00    513.00    114.00    518.00    109.00    517.00    104.00    516.00    
  7069.        227ZONE 2    OUTSIDE            2                                        
  7070. 104.00    516.00    110.00    513.00                                            
  7071.        245SURPLUS   SURPLUS            2                                        
  7072. 119.00    513.00    122.00    506.00                                            
  7073.        263OUTSIDE   ZONE 2             2                                        
  7074. 103.00    509.00    110.00    513.00                                            
  7075.        281OUTSIDE   ZONE 2             2                                        
  7076. 102.00    503.00    103.00    509.00                                            
  7077.                                                                                 
  7078.  
  7079.   A. 6.13 Sample lines geographic file DEMOLINES.DAT        
  7080.           ------------------------------------------
  7081.  
  7082. A lines structure is used for line data that is to be displayed for attribute   
  7083. data. Each line can be made up of several segments:                             
  7084.                                                                                 
  7085. SAMPLE LINE NETWORK DATA       DEMOLINES.DAT                                    
  7086. MAP                                                                             
  7087. 103.50    121.50    503.50    517.50                                            
  7088.          0                                                                      
  7089. LINES                                                                           
  7090.          4                                                                      
  7091. ROAD 3             3                                                            
  7092. 110.50    119.50    503.50    513.50                                            
  7093.        187       161       143                                                  
  7094. ROAD 1             2                                                            
  7095. 103.50    114.50    503.50    513.50                                            
  7096.        125       107                                                            
  7097. ROAD 2             2                                                            
  7098. 103.50    110.50    503.50    513.50                                            
  7099.        263       281                                                            
  7100. ROAD 4             2                                                            
  7101. 104.50    119.50    513.50    517.50                                            
  7102.        205       227                                                            
  7103. SEGMENTS                                                                        
  7104.          9                                                                      
  7105.        107                             2         0          ROAD 1              
  7106. 103.50    503.50    114.50    503.50                                            
  7107.        125                             2         0          ROAD 1              
  7108. 103.50    503.50    110.50    513.50                                            
  7109.        143                             2         0          ROAD 3              
  7110. 114.50    503.50    110.50    513.50                                            
  7111.        161                             6         0          ROAD 3              
  7112. 114.50    503.50    115.50    505.50    116.50    507.50    117.50    509.50    
  7113. 118.50    511.50    119.50    513.50                                            
  7114.        187                             2         0          ROAD 3              
  7115. 110.50    513.50    119.50    513.50                                            
  7116.        205                             4         0          ROAD 4              
  7117. 119.50    513.50    114.50    517.50    109.50    517.50    104.50    516.50    
  7118.        227                             2         0          ROAD 4              
  7119. 104.50    516.50    110.50    513.50                                            
  7120.        263                             2         0          ROAD 2              
  7121. 103.50    509.50    110.50    513.50                                            
  7122.        281                             2         0          ROAD 2              
  7123. 103.50    503.50    103.50    509.50                                            
  7124.  
  7125.                                                                      136
  7126.  
  7127.   A. 6.14 Sample points geographic file DEMOPOINT.DAT       
  7128.           -------------------------------------------
  7129.  
  7130. Points files just give the (X,Y) locations and a site name / label.             
  7131.                                                                                 
  7132. These files can be used with an attribute file for mapping site data or can be  
  7133. used to place sysmols or labels at locations (overlays).                        
  7134.                                                                                 
  7135. COMMENT LINE FOR TEST DATA     - DEMOPOINT.DAT                                  
  7136. MAP                                                                             
  7137. 102.00    122.00    502.00    518.00                                            
  7138.          0                                                                      
  7139. POINTS                                                                          
  7140.          3                                                                      
  7141. 114.0     503.0     PNT1                                                        
  7142. 104.0     516.0     PNT2                                                        
  7143. 114.0     518.0     PNT3                                                        
  7144.                                                                                 
  7145.  
  7146.                                                                      137
  7147.  
  7148.   A. 7 Format of polygon geographic files                
  7149.       ----------------------------------
  7150.  
  7151.  
  7152.   A. 7. 1 Standard (not implemented)                        
  7153.           --------------------------
  7154.  
  7155. Geographic data are often available in polygon format, and this data            
  7156. definition enables it to be used used with OzGIS.                               
  7157.                                                                                 
  7158. The common line segments on the boundaries of adjacement polygons are           
  7159. effectively defined twice in polygon data; OzGIS assumes that they are          
  7160. exactly the same.  The polygon boundary must not cross itself.                  
  7161.                                                                                 
  7162. Each polygon has a name, which is the name of the zone to which it belongs.     
  7163.                                                                                 
  7164. Polygons may occur inside other polygons.  Where the polygon is not part of     
  7165. a zone (e.g. a lake) it may be given the name OUTSIDE.  The level field         
  7166. defines lakes, islands within lakes etc.  When maps are generated on            
  7167. devices using polygon fill the level gives the order of display so the          
  7168. polygons will overwrite correctly.                                              
  7169.                                                                                 
  7170.                                                                                 
  7171. Comment record:                                                                 
  7172.                                                                                 
  7173.      80      byte       comment describing the data                             
  7174.                                                                                 
  7175. Definition Record:                                                              
  7176.      10      integer    map projection code                                     
  7177.      10      integer    zone type (optional)                                    
  7178.                                                                                 
  7179. Each polygon is defined by a set of records:                                    
  7180.                                                                                 
  7181. Polygon header:                                                                 
  7182.      10      byte       zone name, usually left justified, blank filled         
  7183.                         or OUTSIDE if an internal polygon.                      
  7184.      10      integer    number of points in the line                            
  7185.      10      real       level of polygon for hardcopy generation using          
  7186.                         polygon fill 0=standard, 1=lakes, etc.                  
  7187.                                                                                 
  7188. Centroid record:                                                                
  7189.      2x10    real       centroid or labelling point (X,Y) in polygon            
  7190.                                                                                 
  7191. Point records:                                                                  
  7192.      8x10    real       (X,Y) coordinate pairs (4 per record) The last          
  7193.                         point must be the same as the first.                    
  7194.                                                                                 
  7195.  
  7196.   A. 7. 2 SAS Format Zone Files                             
  7197.           ---------------------
  7198.  
  7199. The SAS system provides a crude polygon format for map data. The old format has 
  7200. been updated to allow for multiple polygons in zones and for data at several    
  7201. levels of resolution.                                                           
  7202.                                                                                 
  7203. The polygons must be given in the correct order for display when there are      
  7204.  
  7205.                                                                      138
  7206. polygons within other polygons.                                                 
  7207.                                                                                 
  7208. The data consists of variable length records with the following fields:         
  7209.                                                                                 
  7210. field1: the zone name                                                           
  7211. field2: the polygon number within the zone (usually 1)                          
  7212. field3: the X value                                                             
  7213. field4: the Y value                                                             
  7214.                                                                                 
  7215. For example, part of a file might be as follows, where zone 19 has 2 polygons   
  7216.                                                                                 
  7217.   17   1 135.0198593289   -45.006152242                                         
  7218.   17   1 135.0214474499   -45.008039698                                         
  7219.   17   1 135.0234586746   -45.011447966                                         
  7220.   17   1 135.0232417881   -45.011781529                                         
  7221.   17   1 135.0146185011   -45.012796119                                         
  7222.   17   1 135.0149845481   -45.012392245                                         
  7223.   17   1 135.0148004219   -45.011233956                                         
  7224.   17   1 135.0155192316   -45.009236805                                         
  7225.   17   1 135.0140719935   -45.006661419                                         
  7226.   19   1 135.0200279355   -45.018230647                                         
  7227.   19   1 135.0211774409   -45.018684313                                         
  7228.   19   1 135.0218305141   -45.017554402                                         
  7229.   19   1 135.023555249    -45.017326832                                         
  7230.   19   1 135.024860993    -45.014845043                                         
  7231.   19   1 135.0251943022   -45.014588848                                         
  7232.   19   1 135.0192894787   -45.023670658                                         
  7233.   19   1 135.0179009587   -45.022158593                                         
  7234.   19   1 135.0182676911   -45.021624267                                         
  7235.   19   1 135.0180351585   -45.020997345                                         
  7236.   19   1 135.0192095339   -45.020121485                                         
  7237.   19   1 135.0194375813   -45.01857923                                          
  7238.   19   2 135.0279172212   -45.023049563                                         
  7239.   19   2 135.0281361789   -45.022784472                                         
  7240.   19   2 135.0283748209   -45.0230802                                           
  7241.   19   2 135.0285159498   -45.022607252                                         
  7242.   19   2 135.0283438861   -45.023600549                                         
  7243.   21   1 135.041364044   -45.0087376237                                         
  7244.   21   1 135.039871216   -45.0095451251                                         
  7245.   21   1 135.039485425   -45.0093839765                                         
  7246.   21   1 135.037185282   -45.0106722265                                         
  7247.             .                                                                   
  7248.             .                                                                   
  7249.             .                                                                   
  7250.             .                                                                   
  7251.             .                                                                   
  7252.  
  7253.   A. 7. 3 Simple Format (old SAS) Zone Files                
  7254.           ----------------------------------
  7255.  
  7256. Simple format files are in common use by the SAS system and other packages      
  7257. providing SAS interfaces.  Polygon for lakes etc. should follow standard        
  7258. polygons to provide the correct display order for overwriting.                  
  7259.                                                                                 
  7260. This format has now been updated in the SAS system.                             
  7261.                                                                                 
  7262.                                                                                 
  7263. Each data record has the form                                                   
  7264.  
  7265.                                                                      139
  7266.      10      byte       zone name                                               
  7267.      10      real       X coordinate                                            
  7268.      10      real       Y coordinate                                            
  7269.      10      integer    Polygon number within zone                              
  7270.  
  7271.   A. 7. 4 Sample simple zones data file DEMOSASG.DAT        
  7272.           ------------------------------------------
  7273.  
  7274. SQUARE        3.0       5.0                                                     
  7275. SQUARE        7.0       5.0                                                     
  7276. SQUARE        7.0       10.0                                                    
  7277. SQUARE        3.0       10.0                                                    
  7278. DIAMOND       8.0       8.0                                                     
  7279. DIAMOND       10.0      5.0                                                     
  7280. DIAMOND       12.0      8.0                                                     
  7281. DIAMOND       10.0      11.0                                                    
  7282. TRIANGLE      13.0      5.0                                                     
  7283. TRIANGLE      16.0      10.0                                                    
  7284. TRIANGLE      19.0      5.0                                                     
  7285. TRIANGLE      13.0      2.0            2                                        
  7286. TRIANGLE      15.0      2.0            2                                        
  7287. TRIANGLE      14.0      4.0            2                                        
  7288. SQUARE        4.0       0.0            2                                        
  7289. SQUARE        8.0       0.0            2                                        
  7290. SQUARE        8.0       4.0            2                                        
  7291. SQUARE        4.0       4.0            2                                        
  7292. SQUARE        0.0       0.0            2                                        
  7293. SQUARE        5.0       1.0            2                                        
  7294. SQUARE        5.0       3.0            2                                        
  7295. SQUARE        7.0       3.0            2                                        
  7296. SQUARE        7.0       1.0            2                                        
  7297. OUTSIDE       15.0      6.0            2                                        
  7298. OUTSIDE       15.0      7.0            2                                        
  7299. OUTSIDE       17.0      7.0            2                                        
  7300. OUTSIDE       17.0      6.0            2                                        
  7301. TOP           4.0       8.0                                                     
  7302. TOP           19.0      8.0                                                     
  7303. TOP           19.0      9.0                                                     
  7304. TOP           4.0       9.0                                                     
  7305.  
  7306.                                                                      140
  7307.  
  7308.   A. 8 GIS / common geographic file formats              
  7309.       ------------------------------------
  7310.  
  7311.  
  7312.   A. 8. 1 DIME format                                       
  7313.           -----------
  7314.  
  7315. This format is supported, but has not had much use. The data are primarily 2    
  7316. point segments, so is inefficient on storage.                                   
  7317.                                                                                 
  7318. Note that only 499 2 point segments can be handled.                             
  7319.                                                                                 
  7320. The data are usually passed through BUILD ZONES?POLYGONS to build polygons and  
  7321. then through PREPARE DATA FOR DISPLAY to join up the segments into ones of      
  7322. decent length.                                                                  
  7323.                                                                                 
  7324. The data are long Ascii records, and look something like:                       
  7325.                                                                                 
  7326. XX91609160012583                       1                                        
  7327.   MANUEL              ST                       8    8      201   299   200      
  7328.    29891600000011 14502 1450219711197119160       38  440195019510003016     234
  7329.   10003016     213   1818                        396750 757476396740            
  7330. 7574760610215040685606098370406849                                              
  7331.   MANUEL              ST                       8    8      301   359   300      
  7332.   35891600000029 14502 1450219711197119160       44  480195019510003016     233 
  7333.   10003016     212   1818                        396740 757476396730            
  7334. 7574760609837040684906095020406848                                              
  7335.   MANUEL              ST                       8    8      361   399   360      
  7336.   39891600000037 14502 1450219711197119160       48  540195019510003016     233 
  7337.   10003016     233   1818                        396730 757476396718            
  7338. 7574760609502040684806090470406846                                              
  7339.   SCHOOL              ST                       9    9      900   998   901      
  7340.    99991600000045 162   162  19720197209160       37  220200020010003031     107
  7341.   10003031     108   1818                        396611 755737396619            
  7342. 7557430605026045580006053140455632                                              
  7343.   SCHOOL              ST                       9    9     1000  1098  1001      
  7344.   109991600000052 162   162  19720197209160       22  140200020010003031     115
  7345.   10003031     115   1818                        396619 755743396624            
  7346. 7557460605314045563206054910455542                                              
  7347.  
  7348.   A. 8. 2 DLG optional 3 format                             
  7349.           ---------------------
  7350.  
  7351. The DLG-3 format is the major interchange format in use, and data can be        
  7352. obtained from many mapping agencies e.g. from USGS.                             
  7353.                                                                                 
  7354. The data differs in concept from the usual data displayed by OzGIS in that it   
  7355. is preclassified by the assignment of numeric "feature codes".                  
  7356.                                                                                 
  7357. All identifiers are numbers. These are converted to names by left aligning      
  7358. them in the 10 character name fields.                                           
  7359.                                                                                 
  7360. The data entry process processed the lines only. Any line with one vertice or   
  7361. two vertices and the same node numbers is taken as a point.                     
  7362.                                                                                 
  7363. Other lines are output with the left and right names set to the area names.     
  7364.  
  7365.                                                                      141
  7366. Left and right area numbers of zero or one are taken to be outside the map.     
  7367.                                                                                 
  7368. Feature codes are stored as numbers (combined input pairs) for lines, points    
  7369. and zones e.g. '291  22' becomes 2910022.                                       
  7370.                                                                                 
  7371. The first area is ignored as it should be the boundary of the map.              
  7372.                                                                                 
  7373. Polygons are generated by passing the geographic file through the zone building 
  7374. process.  This carries the area feature codes through to the polygons, retains  
  7375. the line segments, and forms a points segment that contains the centroids of    
  7376. the polygons.                                                                   
  7377.                                                                                 
  7378. Note that file should have 80 character fixed length records. In practise files 
  7379. often have no end-of-records (e.g. USGS CD-ROM files) or records may be         
  7380. truncated. Records with end-of-line markers must no be more than 80             
  7381. characters long.                                                                
  7382.                                                                                 
  7383. Zero length records are not allowed.                                            
  7384.                                                                                 
  7385. You will find that DLG-3 files off ARC-INFO systems often have extraneous       
  7386. background polygons that "zap" the map when displayed.                          
  7387.                                                                                 
  7388. Some test files are supplied for Hawaii.  These were read off the USGS GeoDATA  
  7389. CD ROM on a SUN system, and 'newline' characters inserted to form 80 character  
  7390. records.  The files had to be edited as an arbitrary polygon was given as       
  7391. outside the map as the left and right areas on the line (this could also be     
  7392. handled during display by specifying feature codes).                            
  7393.                                                                                 
  7394. The test files are:                                                             
  7395.                                                                                 
  7396. HAWDLGWB - water boundaries i.e. the islands                                    
  7397. HAWDLGWB - administrative boundaries                                            
  7398. HAWDLGRD - roads                                                                
  7399. HAWDLGST - streams                                                              
  7400.                                                                                 
  7401. The data format is described in the US Geological Survey Circular 895-c         
  7402. "USGS Digital Cartographic Data Standards, Digital Line Graphs"                 
  7403.                                                                                 
  7404. The files look like:                                                            
  7405.                                                                                 
  7406. USGS-NMD  DLG DATA - CHARACTER FORMAT - 09-29-82 VERSION s21_wb.dlg             
  7407. HAWAIIAN ISLANDS POLY 10 DROPPED        1967, 1980  2000000.                    
  7408. this record not used, cant be zero length                                       
  7409.      3     3  9999     2 0.50800000000D+02     4     0     4     1              
  7410.    0.637820640000000D+07   0.676865799729109D-02   0.800000000000000D+07        
  7411.    0.180000000000000D+08  -0.157000000000000D+09   0.300000000000000D+07        
  7412.    0.0                     0.0                     0.0                          
  7413.    0.0                     0.0                     0.0                          
  7414.    0.0                     0.0                     0.0                          
  7415.  0.10000000000D+01 0.0               0.0               0.0                      
  7416. SW       19.000000 -160.000000        -316386.41  1771715.66                    
  7417. NW       22.000000 -160.000000        -312489.03  2102112.53                    
  7418. NE       22.000000 -155.000000         208312.61  2101093.98                    
  7419. SE       19.000000 -155.000000         210917.63  1770684.40                    
  7420. WATER BODIES           0    74    74 010    12    12 010    70    70   1        
  7421. N    1  -316386.41  1771715.66           0           0     0                    
  7422. N    2  -312489.03  2102112.53           0           0     0                    
  7423. N    3   208312.61  2101093.98           0           0     0                    
  7424.  
  7425.                                                                      142
  7426. N    4   210917.63  1770684.40           0           0     0                    
  7427. .                                                                               
  7428. .                                                                               
  7429. .                                                                               
  7430. .                                                                               
  7431. N   74  -320966.08  2105481.92           2           0     0                    
  7432.    -69    70                                                                    
  7433. A    1   -68438.87  1949336.24           3     0     1     0     0              
  7434.      8     9     7                                                              
  7435.      0     0                                                                    
  7436. A    2  -327997.34  2094827.63           3     0     1     0     0              
  7437.    -10    -2    -1                                                              
  7438.     40   150                                                                    
  7439. .                                                                               
  7440. .                                                                               
  7441. .                                                                               
  7442. .                                                                               
  7443. A   13   -91708.84  2025480.45           3     0     1     0     0              
  7444.    -66   -65   -67                                                              
  7445.     40   150                                                                    
  7446. L    1     7     6     2     0                24     1     0                    
  7447.   -332906.23  2078428.77  -332805.62  2077920.57  -331991.53  2078579.38        
  7448.   -332446.45  2079748.67  -331479.96  2080407.19  -331224.96  2080914.69        
  7449.   -331578.38  2082032.98  -331221.19  2082845.09  -330100.11  2084620.90        
  7450.   -329235.22  2085279.61  -328573.03  2086192.72  -328571.24  2087107.12        
  7451.   -327247.56  2088577.74  -325977.26  2088727.66  -325164.16  2088878.47        
  7452.   -324909.37  2089284.37  -324503.57  2088978.78  -323182.17  2089280.99        
  7453.   -322319.07  2089025.30  -321707.68  2089938.51  -321250.68  2089836.02        
  7454.   -320995.88  2090241.92  -319775.79  2090696.74  -318961.20  2091609.55        
  7455.    290  4000                                                                    
  7456. .                                                                               
  7457. .                                                                               
  7458. .                                                                               
  7459. .                                                                               
  7460. L   70    74    66    11     0                 2     1     0                    
  7461.   -320966.08  2105481.92  -321422.78  2105736.82                                
  7462.    290  4002                                                                    
  7463.  
  7464.   A. 8. 3 Gina format                                       
  7465.           -----------
  7466.  
  7467. The standard interchange format for GeoVision GIS is Gina.                      
  7468.                                                                                 
  7469. Only some of the data file is processed. Feature codes must be numeric. Zone    
  7470. names generated are of the form ZONE12345 and site names are of the form        
  7471. POINT12345.                                                                     
  7472.                                                                                 
  7473. Only boundary lines and points are output - you have to generate                
  7474. the zones / polygons afterwards.                                                
  7475.                                                                                 
  7476. The sample file DEMOGINA.DAT is as follows:                                     
  7477.                                                                                 
  7478. udb-start b v 8192                                                              
  7479.                                                                                 
  7480. udb-header 0.5 fred-db "Fred's test database"                                   
  7481. descr      29oct85 14:32:10 example GINA files                                  
  7482. coord-sys  rect  feet                                                           
  7483. extent -12000, -8000,  12000, 8000                                              
  7484.  
  7485.                                                                      143
  7486. layer 1 base        "base information layer"                                    
  7487. layer 2 roads       "roads and streets layer"                                   
  7488. layer 3 hydro       "hydrographic layer (rivers, streams etc)"                  
  7489. layer 4 telephone   "telephone plant layer"                                     
  7490. layer 5 lots        "property lots layer"                                       
  7491.                                                                                 
  7492. network 1 emergency l 2 "emergency routes"                                      
  7493. network 2 property  p 5 "property polygon network"                              
  7494.                                                                                 
  7495. udb-primary                                                                     
  7496. table road free                                                                 
  7497. field name        char 40   i n   "road name"                                   
  7498. field r_type      char 12   i n   "type of road, arterial, highway etc"         
  7499. field lanes       num  2,0        "maximum number of lanes"                     
  7500. field surface     char 10   n     "type of surface"                             
  7501. fc   1000, 1099                                                                 
  7502. table house free                                                                
  7503. field h_type      char 10   n     "house type: bungalow;""test quotes""  etc"   
  7504. field lot_no      num 10    i     "lot number"                                  
  7505. fc   1130,  1139                                                                
  7506. table lots free                                                                 
  7507. field lot_no      num  10   i u n "lot number"                                  
  7508. field address_no  num  6,0  i n                                                 
  7509. field street      char 40   n     "street name"                                 
  7510. fc   1100                                                                       
  7511.                                                                                 
  7512.                                                                                 
  7513. udb-feature                                                                     
  7514. feat 1  1002 2 0 l xy 0 0 0 1 0                                                 
  7515. coor 1805 1120 1805 1143                                                        
  7516. coor 2018 1143 2018 1204 2508 1204                                              
  7517. text "Elm Street"                                                               
  7518. attr Elm suburban 2 "asphalt"                                                   
  7519. feat 2  1004 2 0 l xy 0 0 0 1 0                                                 
  7520. coor 2508 1204 2508 820                                                         
  7521. text "Oak Street"                                                               
  7522. attr Oak arterial 4 "concrete"                                                  
  7523. feat 3  1400 5 2 l xy                                                           
  7524. coor 2508 903 2508 933                                                          
  7525. feat 4  1400 5 2 l xy                                                           
  7526. coor 2508 933 2568 933                                                          
  7527. feat 5  1400 5 2 l xy                                                           
  7528. coor 2568 933 2568 903                                                          
  7529. feat 6  1400 5 2 l xy                                                           
  7530. coor 2508 903 2568 903                                                          
  7531. feat 7  1400 5 2 l xy                                                           
  7532. coor 2508 873 2508 903                                                          
  7533. feat 8  1400 5 2 l xy                                                           
  7534. coor 2568 903 2568 873                                                          
  7535. feat 9  1400 5 2 l xy                                                           
  7536. coor 2508 873 2568 873                                                          
  7537. feat 20  1100 5 2 p xy                                                          
  7538. coor 2520 920                                                                   
  7539. attr  10875,  104 Oak                                                           
  7540. feat 21  1133 5 0 l xy                                                          
  7541. coor 2530  920                                                                  
  7542. attr 2-story  10875                                                             
  7543. feat 22  1100 5 2 p xy                                                          
  7544.  
  7545.                                                                      144
  7546. coor 2520  890                                                                  
  7547. attr 10874,  106 Oak                                                            
  7548. feat 23  1133 5 0 l xy                                                          
  7549. coor  2530 890                                                                  
  7550. attr bungalow 10874                                                             
  7551.                                                                                 
  7552. udb-polygon                                                                     
  7553. poly 3 20 r e                                                                   
  7554. poly 4 20 r e                                                                   
  7555. poly 6 20 l e                                                                   
  7556. poly 5 20 r e                                                                   
  7557. poly 6 22 r e                                                                   
  7558. poly 8 22 r e                                                                   
  7559. poly 9 22 l e                                                                   
  7560. poly 7 22 r e                                                                   
  7561.                                                                                 
  7562. udb-indirect                                                                    
  7563. table road_types free                                                           
  7564. field r_type    char 12 i u n  "road type"                                      
  7565. field maint     char 2         "maintenance class"                              
  7566. field resp_code char 3  n      "responsibility code"                            
  7567. attr highway    m3  A-4                                                         
  7568. attr aterial    m6  B-3                                                         
  7569. attr secondary  n2  B-1                                                         
  7570. attr suburban   s4  B-8                                                         
  7571.                                                                                 
  7572.                                                                                 
  7573. udb-indirect                                                                    
  7574. table house_types  free                                                         
  7575. field h_type    char 10  i u n "house  types"                                   
  7576. field tax_code  char 4   n     "taxation code"                                  
  7577. attr bungalow  10-5                                                             
  7578. attr 2-story   12-2                                                             
  7579. attr split     11-5                                                             
  7580.                                                                                 
  7581. udb-end                                                                         
  7582.  
  7583.   A. 8. 4 ANSII standard                                    
  7584.           --------------
  7585.  
  7586. The new standard format for interchange will be supported when test data become 
  7587. available.                                                                      
  7588.  
  7589.   A. 8. 5 SIF format (not available)                        
  7590.           --------------------------
  7591.  
  7592. SIF format will be supported if there is a demand.                              
  7593. Data files appear to be 80 character ascii files.                               
  7594.                                                                                 
  7595. The files contain a series of commands that define how the coordinates are to be
  7596. displayed.                                                                      
  7597.                                                                                 
  7598. Most of the commands are ignored.                                               
  7599.                                                                                 
  7600. The commands of value seem to be:                                               
  7601.                                                                                 
  7602. DID/ is the first record in the file, and gives some basic information. The     
  7603. parameter MO=2 or MO=3 gives the number of dimensions (compulsory?). Any Z value
  7604.  
  7605.                                                                      145
  7606. is ignored.                                                                     
  7607.                                                                                 
  7608. OVR/   defines the active level. This is stored in the relations as a number    
  7609. column 'ovr' as it seems to  be  effectively a layer.                           
  7610.                                                                                 
  7611. ASC/ggnum defines the graphic group number, and is used to  form the entid of   
  7612. form SIFggnum.                                                                  
  7613.                                                                                 
  7614. If ggnum is 0 the item is ignored (not appended).                               
  7615.                                                                                 
  7616. If ggnum is <0 a number is assigned to it (sequentially starting at 10001).     
  7617.                                                                                 
  7618. LST/xx, defines a line. There are 2-101 vertices in a record. If a record has   
  7619. 101 values and the next record starts with the same point as the end point it is
  7620. taken to be a continuation. (actually found some records with more than 101)    
  7621.                                                                                 
  7622. LST/ and LST/OP are line strings.                                               
  7623.                                                                                 
  7624. LST/HO and LST/SO are polygons (solid & holes)                                  
  7625.                                                                                 
  7626. Vertices are (x,y) or (x,y,z) according to the DID/ header.                     
  7627.                                                                                 
  7628. New records that are not continuations are taken to be new components.          
  7629.                                                                                 
  7630.                                                                                 
  7631.  
  7632.   A. 8. 6 DXF format                                        
  7633.           ----------
  7634.  
  7635. Digitised map data can be entered into OzGIS in the AutoCAD Drawing Interchange 
  7636. and File format as lines, points and polygons.                                  
  7637.                                                                                 
  7638. The format is described in the AutoCAD manuals.                                 
  7639.                                                                                 
  7640. If the data are to be used for choropleth mapping (with attribute data) the     
  7641. entities must have been digitised  with handles to give the entities names. The 
  7642. hexadecimal handle values will become the zone (or point) names that will also  
  7643. have to be used in the attribute files. You can rename the  entities with a     
  7644. combine file by using the data reparation process, but the the easiest method   
  7645. is to edit the names with a word-processor. The names are treated as text. The  
  7646. handles are given in type 5 groups.                                             
  7647.                                                                                 
  7648. The entities are processed as follows:                                          
  7649.                                                                                 
  7650. LINEs are stored as line segments, and can only be used for line overlays       
  7651. as there is no left & right zone names to enable polygons to be built.          
  7652.                                                                                 
  7653. POINTs are stored as points. Any handle will be used as the name.               
  7654.                                                                                 
  7655. POLYLINE & VERTEXes give a series of points that are either lines for line      
  7656. overlays, or polygons if a bit flag values defines it as closed. If a           
  7657. handle value is given it becomes the name and attribute values can be linked    
  7658. to it (polygons).                                                               
  7659.                                                                                 
  7660. TEXT entities are stored as points with the text group used as the name         
  7661. or for assigning attribute values (first 10 characters).                        
  7662.                                                                                 
  7663.  
  7664.                                                                      146
  7665.  
  7666.   A. 8. 7 Digital Chart of the World                        
  7667.           --------------------------
  7668.  
  7669.     The Digital Chart of the World is a 1.7 GB digital geographic database that 
  7670. is available on CD-ROM.  Like most US government data it is public domain,      
  7671. price about US$200!                                                             
  7672.                                                                                 
  7673.  More than 200 different types of attributes present worldwide are logically    
  7674. organized into 17 thematic layers.  Since each thematic layer may contain       
  7675. information in the form of points, lines, and/or polygons, there are up to 27   
  7676. possible coverages present.  In addition to the attribute information most      
  7677. layers contain one or more levels of annotation.  Most of the annotation        
  7678. contains place name information for cities, mountains, lakes, or other          
  7679. geographic features.  Other types of annotation supplement attribute coding or  
  7680. contain data quality information.  The original text size and location          
  7681. information are retained, thus allowing the production of publication quality   
  7682. maps.  The major thematic layers in the DCW database include international      
  7683. boundaries, hydrography, elevation, populated places, roads, railroads, utility 
  7684. lines, airports, cultural landmarks, physiography, supplemental data, and data  
  7685. quality.                                                                        
  7686.                                                                                 
  7687. The Digital Chart of the World  was input from 1:1,000,000 Operational          
  7688. Navigation Charts and 1:2,000,000 Joint Navigation Charts.  It includes 17      
  7689. layers, aeronautical info, data quality info, drainage, supplemental drainage,  
  7690. hypsography, hypsography supplemental, land cover, ocean features,              
  7691. physiography, political/ocean, populated places, railroads, transportation      
  7692. structure, utilities, and vegetation.                                           
  7693.                                                                                 
  7694. The data comes on 4 CD-ROMs and includes a BROWSE database for superficial views
  7695. of the whole world, and 4 detailed databases.                                   
  7696.                                                                                 
  7697. The detailed databases are split into 5 degree square tiles.                    
  7698.                                                                                 
  7699. Ponts, lines and text data can be imported as DCW files. Lines can be built     
  7700. into polygons with some restrictions.                                           
  7701.                                                                                 
  7702. A CD-ROM drive does not have to be on-line; files can be copied from another    
  7703. PC.                                                                             
  7704.                                                                                 
  7705. Refer to the complete chapter on DCW processing.                                
  7706.                                                                                 
  7707.  
  7708.   A. 8. 8 IDRISI Vector Format                              
  7709.           --------------------
  7710.  
  7711. Vector overlay files from the IDRISI raster GIS system can be entered.          
  7712.                                                                                 
  7713. The files have a simple format of the form                                      
  7714.                                                                                 
  7715. ident,number vertices                                                           
  7716. X,Y                                                                             
  7717. . .                                                                             
  7718. . .                                                                             
  7719. X,Y                                                                             
  7720.                                                                                 
  7721. Where a 0,0 record indicates end of data                                        
  7722.  
  7723.                                                                      147
  7724.                                                                                 
  7725. Points, lines or polygons can be entered.                                       
  7726.                                                                                 
  7727. Only records with one vertice will be processed for points, with more than one  
  7728. vertice for lines, and more than two vertices for polygons.                     
  7729.                                                                                 
  7730. Three sample files are supplied for deaths during the 1854 London Cholera       
  7731. outbreak. These are STREET.VEC, DEATH.VEC and PUMP.VEC. See the associated      
  7732. *.DVC decumentation files for details.                                          
  7733.                                                                                 
  7734. From NCGIA, Santa Barbara. Digitized in 1992 by Rusty Dodson from the map       
  7735. included in the book by John Snow:  "Snow on Cholera...", London:  Oxford       
  7736. University Press, 1936.                                                         
  7737.                                                                                 
  7738. A trivial two line file could be:                                               
  7739.                                                                                 
  7740. 1 2                                                                             
  7741. 16.7380009 18.6959991                                                           
  7742. 17.6599998 18.7119999                                                           
  7743. 36 3                                                                            
  7744. 11.3450403 4.9679508                                                            
  7745. 11.0809002 4.4880772                                                            
  7746. 11.6251144 3.5709989                                                            
  7747. 0 0                                                                             
  7748.  
  7749.   A. 8. 9 ATLAS Export Format                               
  7750.           -------------------
  7751.  
  7752. Digitised boundary data can often be purchased in a format supported by the     
  7753. Atlas PC mapping system.                                                        
  7754.                                                                                 
  7755. The files are Ascii, and records are of the form:                               
  7756.                                                                                 
  7757. "name",n,x1,y1,...........Xn,Yn                                                 
  7758.                                                                                 
  7759. where                                                                           
  7760.                                                                                 
  7761. n=1 => a point                                                                  
  7762. n=2 => a circle                                                                 
  7763. n>2 => a polygon                                                                
  7764. n<0 => a line                                                                   
  7765.                                                                                 
  7766. These data can be entered via the OzGIS system with some restrictions:          
  7767.                                                                                 
  7768. . circles are not supported                                                     
  7769.                                                                                 
  7770. . only the first 10 characters of the name can be used to assign attribute      
  7771.   values.                                                                       
  7772.                                                                                 
  7773. . there cannot be more than one spatial object in a record                      
  7774.                                                                                 
  7775. . The name of a polygon that is internal e.g. a lake, should be "OUTSIDE".      
  7776.                                                                                 
  7777.                                                                                 
  7778. An example file for africa AFRICA.DAT may be included with your system.         
  7779.                                                                                 
  7780. Example file records from the africa files are:                                 
  7781.                                                                                 
  7782.  
  7783.                                                                      148
  7784. "Morocco",141                                                                   
  7785. 13.92683,60.72203                                                               
  7786. 13.92685,60.67901                                                               
  7787. 13.99129,60.48547                                                               
  7788. 14.1201,60.33495                                                                
  7789. 14.24891,60.18444                       A POLYGON                               
  7790. 14.3777,60.07695                                                                
  7791. 14.48501,60.05548                                                               
  7792. 14.61376,60.07703                                                               
  7793. 14.72104,60.09858                                                               
  7794. 14.80687,60.14163                                                               
  7795.     .                                                                           
  7796.     .                                                                           
  7797. "Tunisia",113                          A ZONE with 2 polygons                   
  7798. 24.03397,61.15581                                                               
  7799.    .          .    polygon 1                                                    
  7800.    .          .                                                                 
  7801. 24.03397,61.15581                                                               
  7802. 25.49409,58.66141                                                               
  7803.    .          .    polygon 2                                                    
  7804.    .          .                                                                 
  7805. 25.49409,58.66141                                                               
  7806. 24.03397,61.15581   < - first point repeated after every polygon                
  7807.                                                                                 
  7808.                                                                                 
  7809.     .                                                                           
  7810.     .                                                                           
  7811. "Mbabane",1                                                                     
  7812. 41.41317,7.313157                                                               
  7813. "Maseru",1                                                                      
  7814. 38.45704,4.957369                       POINTS                                  
  7815. "Pretoria",1                                                                    
  7816. 39.15494,8.036585                                                               
  7817.     .                                                                           
  7818.     .                                                                           
  7819.     .                                                                           
  7820. "euro3",-41                                                                     
  7821. 33.15051,61.9                                                                   
  7822. 33.10709,61.72918                                                               
  7823. 33.14988,61.68601                       A LINE                                  
  7824. 33.21407,61.62125                                                               
  7825. 33.34267,61.55629                                                               
  7826.     .                                                                           
  7827.     .                                                                           
  7828.     .                                                                           
  7829. Atlas seems to handle multiple polygons within a zone by simply putting them    
  7830. all together in the record following the name i.e. if the first vertex is       
  7831. found to be equal to another in the following list, then that is the end of     
  7832. that polygon and the next vertex is the start of the next polygon etc. For      
  7833. some strange reason the first point of the region is repeated after each        
  7834. of the polygons.                                                                
  7835.                                                                                 
  7836. Atlas does not support topologically structured polygons, so ensure that        
  7837. internal polygons are given after the containing polygons so they are not       
  7838. overwritten on the screen. Also, internal polygons that are to have the         
  7839. background colour should have names "OUTSIDE".                                  
  7840.                                                                                 
  7841. Apparently there are two possibilities for regions with multiple polygons:      
  7842.  
  7843.                                                                      149
  7844.                                                                                 
  7845. The polygons can be kept together, which results in the format which you        
  7846. see in the africa-files (see below). This is the default! The other             
  7847. possibility is to split the the region into separate polygons. This results     
  7848. in an export format where each polygon starts with the boundary name, number    
  7849. of vertices and then the vertices. (The easiest way to do this in ATLAS is      
  7850. to SELECT ALL, and then BOUNDARY, SPLIT, ISLANDS.)                              
  7851.                                                                                 
  7852. The following is supposed to be from the ATLAS EXPORT/IMPORT MANUAL:            
  7853.                                                                                 
  7854. ISLANDS AND LAKES                                                               
  7855.                                                                                 
  7856. The Island/Lake Rule                                                            
  7857. --------------------                                                            
  7858.                                                                                 
  7859. If you return to the firs coordinate pair in the description of a region,       
  7860. you have closed the main polygon. The line to the next coordinate pair          
  7861. will not be drawn, but will instead signal the start of an island or lake.      
  7862. The last coordinate pair in the island or lake must be the same as the first    
  7863. one; this must also be followed by the first coordinate pair of the main        
  7864. polygon - this line again will not be drawn. This rule may be applied as        
  7865. many times in succession as necessary, one time for each island or lake.        
  7866.                                                                                 
  7867. Curves created with Atlas*Draw can also have islands, but ASCII boundary        
  7868. files do not support this.                                                      
  7869.                                                                                 
  7870. General Region Structure With Island/Lake                                       
  7871. ------------------------------------------                                      
  7872.                                                                                 
  7873. The format for a region containing an island and/or lake is:                    
  7874.                                                                                 
  7875. "Pname","Sname",numxy                                                           
  7876. x1,y1                                                                           
  7877. ..                                                                              
  7878. xn,yn                                                                           
  7879. x1,y1                                                                           
  7880. xx1,yy1,                                                                        
  7881. ..                                                                              
  7882. xx1,yy1                                                                         
  7883. x1,y1                                                                           
  7884.                                                                                 
  7885. The second xx1,yy1 pair closes the island or lake and is immediately            
  7886. followed by an x1,y1 pair, which closes back to the main polygon.               
  7887. Additional islands or lakes can follow, as long as each closes on itself        
  7888. and then closes back to the main polygon.                                       
  7889.                                                                                 
  7890. The illustrations below show examples of a region with an island, and of a      
  7891. region with a lake containing an embedded region.                               
  7892.                                                                                 
  7893. The region with an island is listed as:                                         
  7894.                                                                                 
  7895. "Region w/Island",11                                                            
  7896. 1,1 first coordinate pair                                                       
  7897. 1,0                                                                             
  7898. 0,0                                                                             
  7899. 0,1                                                                             
  7900. 1,1 end of main polygon                                                         
  7901. 2,1 start of island                                                             
  7902.  
  7903.                                                                      150
  7904. 3,1                                                                             
  7905. 3,0                                                                             
  7906. 2,0                                                                             
  7907. 2,1 end of island                                                               
  7908. 1,1 end of main polygon                                                         
  7909.                                                                                 
  7910. An entry for a region with a lake containing an embedded region:                
  7911.                                                                                 
  7912. "Region w/lake",11                                                              
  7913. 0,3 first coordinate pair                                                       
  7914. 3,3                                                                             
  7915. 3,0                                                                             
  7916. 0,0                                                                             
  7917. 0,3 end of main polygon                                                         
  7918. 1,2 start of lake                                                               
  7919. 1,1                                                                             
  7920. 2,1                                                                             
  7921. 2,2                                                                             
  7922. 1,2 end of lake                                                                 
  7923. 0,3 end of main polygon                                                         
  7924. "Embedded Region", 5                                                            
  7925. 1,2                                                                             
  7926. 2,2                                                                             
  7927. 2,1                                                                             
  7928. 1,1                                                                             
  7929. 1,2                                                                             
  7930.                                                                                 
  7931. According to the documentation, regions with multiple polygons can name         
  7932. them all with a record of the form e.g. "poly1","poly2","poly3",num             
  7933. The data we have seen does not seem to do this, but just gives one name.        
  7934.                                                                                 
  7935.                                                                                 
  7936.  
  7937.   A. 8.10 MapInfo Data Interchange Format                   
  7938.           -------------------------------
  7939.  
  7940. Many data suppliers can provide geographic data in a format suitable for use    
  7941. with the MapInfo mapping system.                                                
  7942.                                                                                 
  7943. This format is partially supported, primarily for Census boundaries.            
  7944. The main restriction is that the more contrived spatial types are not supported.
  7945.                                                                                 
  7946. The data is supplied usually as two files. The MapInfo Interchange File (MIF)   
  7947. contains the coordinates. The other file, the MID file, contains data, of which 
  7948. the only part of interest is the names of the spatial objects. Hence the MID    
  7949. file has to be given if you want to display attribute data, such as Census      
  7950. data, according to the names. Optionally the MID file need not be given, in     
  7951. which case the lines, points and polygons can only be used as overlays.         
  7952.                                                                                 
  7953.                                                                                 
  7954. The MIF file starts with a header of the form:                                  
  7955.                                                                                 
  7956.              Version 2                                                          
  7957.              Delimiter ","                                                      
  7958.              CoordSys Earth Projection 1, 0                                     
  7959.              Columns 2                                                          
  7960.                Name Char(40)                                                    
  7961.                ID Integer                                                       
  7962.  
  7963.                                                                      151
  7964.              Data                                                               
  7965.                                                                                 
  7966. The only parts of the header used are:                                          
  7967.                                                                                 
  7968. "Delimiter" defines the seperator used in the MID file, default <tab>           
  7969.                                                                                 
  7970. "Columns" gives the number of values in the MID file for each object            
  7971.                                                                                 
  7972. "Data" indicates the end of the header and start of the coordinates etc         
  7973.                                                                                 
  7974. The data part of the file describes several types of objects. Only real         
  7975. geographic types are processed:                                                 
  7976.                                                                                 
  7977. POINT and CENTER describe points (sites)                                        
  7978. LINE and PLINE describe line segments                                           
  7979. REGION describes zones (polygons)                                               
  7980.                                                                                 
  7981. Entries such as PEN are ignored.                                                
  7982.                                                                                 
  7983. A typical Census boundary file will have region entries with coordinates that   
  7984. will be output as polygons and centre's output as points. The polygons and the  
  7985. points will both have the same names from the MID file, so Census data can be   
  7986. mapped as either zones or sites, and the polygons and points can also be used   
  7987. for overlays e.g. to put names on the polygons.                                 
  7988.                                                                                 
  7989.                                                                                 
  7990. For example, the data part of a MID file could look like:                       
  7991.                                                                                 
  7992. Region 1                                                                        
  7993.   41                                                                            
  7994. 147.30982 -42.851953                                                            
  7995. 147.309298 -42.851559                                                           
  7996. 147.309174 -42.851233                                                           
  7997. 147.309033 -42.851096                                                           
  7998. 147.308207 -42.851211                                                           
  7999.        .       .                                                                
  8000.        .       .                                                                
  8001.        .       .                                                                
  8002.        .       .                                                                
  8003.        .       .                                                                
  8004.        .       .                                                                
  8005. 147.312079 -42.850697                                                           
  8006. 147.310575 -42.851964                                                           
  8007. 147.30982 -42.851953                                                            
  8008.     Pen (1,2,12582912)                                                          
  8009.     Brush (2,16777215,16777215)                                                 
  8010.     Center 147.308418 -42.848512                                                
  8011. Region 1                                                                        
  8012.   13                                                                            
  8013. 147.286268 -42.838088                                                           
  8014. 147.282985 -42.841294                                                           
  8015. 147.283788 -42.842113                                                           
  8016. 147.285434 -42.843622                                                           
  8017. 147.286394 -42.844522                                                           
  8018. 147.28709 -42.845175                                                            
  8019. 147.289192 -42.847147                                                           
  8020. 147.290486 -42.84662                                                            
  8021.        .       .                                                                
  8022.  
  8023.                                                                      152
  8024.        .       .                                                                
  8025.        .       .                                                                
  8026.        .       .                                                                
  8027.                                                                                 
  8028. The MID file provides the names of the objects as "columns". You will have      
  8029. to provide the number of the column that is the names (usually 1)               
  8030.                                                                                 
  8031. If a polygon  is inside another it should have the name "OUTSIDE" so it         
  8032. will be displayed with the background colour.                                   
  8033.                                                                                 
  8034. A MID file with the name in column 1 looks like:                                
  8035.                                                                                 
  8036. Canberra,637                                                                    
  8037. Burra Creek,639                                                                 
  8038. Phred,640                                                                       
  8039. London,641                                                                      
  8040. Wagga Wagga,642                                                                 
  8041. 1230807,644                                                                     
  8042.   .                                                                             
  8043.   .                                                                             
  8044.   .                                                                             
  8045.                                                                                 
  8046.  
  8047.                                                                      153
  8048.  
  8049.   A. 9 Format of names files                             
  8050.       ---------------------
  8051.  
  8052.                                                                                 
  8053. Names files give lists of zones, lines or sites which are to be used to         
  8054. restrict certain kinds of processing in OzGIS.                                  
  8055.                                                                                 
  8056. The file would usually be prepared with a text editor, possibly operating       
  8057. on a file output from OzGIS.                                                    
  8058.                                                                                 
  8059.      Comment Record:                                                            
  8060.      80       byte      comment describing the data                             
  8061.                                                                                 
  8062.      Name Records (one per zone or line or site)                                
  8063.      10       byte      name                                                    
  8064.                                                                                 
  8065.  
  8066.   A. 9. 1 Sample names file DEMOATTR.DAT                    
  8067.           ------------------------------
  8068.  
  8069. DEMONAMES.DAT - NAMES FILE                                                      
  8070. ZONE 1                                                                          
  8071. ZONE 2                                                                          
  8072. ZONE 4                                                                          
  8073.                                                                                 
  8074.  
  8075.   A.10 Format of colour names files (Removed from system)
  8076.       --------------------------------------------------
  8077.  
  8078.                                                                                 
  8079. Colour names files are usually generated within OzGIS, but they may be          
  8080. entered as data files. The file X11-BGR is supplied.                            
  8081.                                                                                 
  8082. Comment record:                                                                 
  8083.      80      byte       comment describing the file                             
  8084.                                                                                 
  8085. Colour records:                                                                 
  8086.      40      byte       colour name (in ascending order)                        
  8087.      10      real       blue value, range 0.0 to 1.0                            
  8088.      10      real       green value, range 0.0. to 1.0                          
  8089.      10      real       red value, range 0.0 to 1.0                             
  8090.                                                                                 
  8091. The demonstration file DEMOCOLNM.DAT looks like:                                
  8092.                                                                                 
  8093. DEMO COLOUR NAMES FILE                                                          
  8094. aquamarine                                   .8314    1.0000     .4980          
  8095. blue                                        1.0000     .0000     .0000          
  8096. brown                                        .1647     .1647     .6471          
  8097. darkseagreen                                 .5608     .7373     .5608          
  8098. hotpink                                      .7059     .4118    1.0000          
  8099. lemonchiffon                                 .8039     .9804    1.0000          
  8100. lightskyblue                                 .9804     .8078     .5294          
  8101. mintcream                                    .9804    1.0000     .9608          
  8102. pink                                         .7961     .7529    1.0000          
  8103. purple                                       .9412     .1255     .6275          
  8104. royalblue                                    .8824     .4118     .2549          
  8105.  
  8106.                                                                      154
  8107. salmon                                       .4471     .5020     .9804          
  8108. steelblue                                    .7059     .5098     .2745          
  8109. turquoise                                    .8157     .8784     .2510          
  8110. yellowgreen                                  .1961     .8039     .6039          
  8111.                                                                                 
  8112.  
  8113.   A.11 Format of combine files                           
  8114.       -----------------------
  8115.  
  8116.                                                                                 
  8117. Combine files define new map zones in terms of zones in a base map, or site     
  8118. catchments in terms of percentages of base zones.                               
  8119.                                                                                 
  8120. Comment record:                                                                 
  8121.      80      byte       comment describing the file                             
  8122.                                                                                 
  8123. Header record:                                                                  
  8124.      10      integer    number of items defined                                 
  8125.                                                                                 
  8126.                                                                                 
  8127. Sets of records follow for the items:                                           
  8128.                                                                                 
  8129. Item definition record:                                                         
  8130.      10      byte       name (ascending order)                                  
  8131.      10      integer    number of zones                                         
  8132.                                                                                 
  8133. Zone records:                                                                   
  8134.      10      byte       zone name (ascending order)                             
  8135.      10      real       proportion of zone in area (0 to 1.0)                   
  8136.                                                                                 
  8137.                                                                                 
  8138.  
  8139.   A.11. 1 Sample combine file DEMOCOMB.DAT                  
  8140.           --------------------------------
  8141.  
  8142. This file defines three territories AREA1, AREA2, AREA3 in terms of base zones  
  8143. A, B, ......                                                                    
  8144.                                                                                 
  8145. 3 AREAS                                                                         
  8146.          3TEST AREAS                                                            
  8147. AREA1              1                                                            
  8148. H             1.0                                                               
  8149. AREA2              3                                                            
  8150. N             1.0                                                               
  8151. O             1.0                                                               
  8152. R             1.0                                                               
  8153. AREA3              5                                                            
  8154. A             1.0                                                               
  8155. B             1.0                                                               
  8156. C             1.0                                                               
  8157. D             1.0                                                               
  8158. E             1.0                                                               
  8159.  
  8160.   A.12 Format of presentation files                      
  8161.       ----------------------------
  8162.  
  8163.                                                                                 
  8164. Presentation files give a set of saved map files that are to be referenced      
  8165.  
  8166.                                                                      155
  8167. by menu items so the maps can be easily displayed when giving demonstrations.   
  8168.                                                                                 
  8169. Presentation files must have names with extension prs e.g. DEMO.PRS             
  8170.                                                                                 
  8171.      First record:                                                              
  8172.                                                                                 
  8173.      60      byte       menu header                                             
  8174.                                                                                 
  8175. A pair of records is given for each saved display file                          
  8176.      60      byte       menu item text                                          
  8177.      50      byte       saved map file in full form                             
  8178.                                                                                 
  8179.  
  8180.   A.12. 1 Sample presentation file                          
  8181.           ------------------------
  8182.  
  8183. AURISA Exhibition                                                               
  8184. Far East Asia zone map                                                          
  8185. DEMOFEA.SAV                                                                     
  8186. Lowe Electorate bivariate zone map                                              
  8187. BIVLOWE.SAV                                                                     
  8188. Diagram map                                                                     
  8189. DIAG1.SAV                                                                       
  8190. Zones & Sites map                                                               
  8191. ZONESITE.SAV                                                                    
  8192. Australia Statistical Division zones map                                        
  8193. DEMOOZ.SAV                                                                      
  8194. Canberra LGAs zone map with overlays                                            
  8195. ACT.SAV                                                                         
  8196.  
  8197.   A.13 Format of marker files                            
  8198.       ----------------------
  8199.  
  8200.                                                                                 
  8201. Markers are displayed in OzGIS as single polygons using polygon fill.           
  8202.                                                                                 
  8203. OzGIS has standard files available (star, triangle etc.) but a you can          
  8204. define your own.                                                                
  8205.                                                                                 
  8206. A marker is a single closed polygon.  OzGIS requires that the points that       
  8207. define the polygon lie within a circle of unit diameter.                        
  8208.                                                                                 
  8209. The data points are usually prepared by drawing the marker on graph paper,      
  8210. centred on the origin, and lying within a circle of radius 0.5.                 
  8211.                                                                                 
  8212.      Comment record:                                                            
  8213.                                                                                 
  8214.      80      byte       marker name, comments                                   
  8215.                                                                                 
  8216.      Header record:                                                             
  8217.                                                                                 
  8218.      10      integer    number of points (3-100)                                
  8219.                                                                                 
  8220.      Boundary record:                                                           
  8221.                                                                                 
  8222.      8x10    real       Polygon points (X,Y) 4 per record                       
  8223.                         Values are in the range (-0.5 to +0.5)  The last        
  8224.                         point must be the same as the first                     
  8225.  
  8226.                                                                      156
  8227.                                                                                 
  8228.  
  8229.   A.13. 1 Sample marker file SQUARE.DAT                     
  8230.           -----------------------------
  8231.  
  8232. SQUARE.DAT - MARKER                                                             
  8233.          5                                                                      
  8234. -0.35     -0.35     -0.35     0.35      0.35      0.35      0.35      -0.35     
  8235. -0.35     -0.35                                                                 
  8236.  
  8237.   A.14 Format of device files                            
  8238.       ----------------------
  8239.  
  8240.                                                                                 
  8241. Device files describe the characteristics of graphics display devices and set   
  8242. colours etc.                                                                    
  8243.                                                                                 
  8244. Standard files are usually held on the system for all devices available. Users  
  8245. would not usually define their own.                                             
  8246.                                                                                 
  8247.  OzGIS was designed to operate as a highly interactive colour mapping system    
  8248. where speed of display was obtained by the use of an  advanced raster display   
  8249. system.                                                                         
  8250.                                                                                 
  8251.  The software can operate on most graphics devices, but there could be loss of  
  8252. speed and capabilities depending on the characteristics of the devices being    
  8253. used.                                                                           
  8254.                                                                                 
  8255.  OzGIS is based on graphics packages with the functionality of the GKS graphic  
  8256. standard. These graphic packages provide graphic primitives such as lines,      
  8257. text, and filled polygons. An important feature of GKS is that it is device     
  8258. independent so the package allows OzGIS to produce maps on a large range of     
  8259. devices.                                                                        
  8260.                                                                                 
  8261.  Every device available for use with OzGIS has at least one file associated with
  8262. it.                                                                             
  8263.                                                                                 
  8264. All devices within OzGIS have the same characteristics so e.g. a map previewed  
  8265. on a display device can be output directly to a hard-copy device. The files     
  8266. ensure that a device with limited capabilities can  simulate the required       
  8267. capabilities in the best way.                                                   
  8268.                                                                                 
  8269.  The device files also set GKS primitive attributes such as colours and zone    
  8270. fill types. A colour display system has several files available that provide    
  8271. standard sets of colours for maps. Files with similar colours are usually       
  8272. available for different devices for hard-copy generation.                       
  8273.                                                                                 
  8274. The easiest way to generate device data files is to edit standard ones.         
  8275.                                                                                 
  8276. The device files require colours to be specified in blue,green,red. One way to  
  8277. decide on these values is to look at the definitions in the colour names data   
  8278. file \ozgis\x11-bgr.dat.                                                        
  8279.                                                                                 
  8280. When outputting to a printer under WINDOWS you will find that you need a device 
  8281. file with a white background. Also, some printer drivers only show text that is 
  8282. black or white. The background is always assumed to be just the paper i.e. it is
  8283. not coloured.                                                                   
  8284.                                                                                 
  8285.  
  8286.                                                                      157
  8287. Hardcopy device files are based on the SCIPLOT package which has a fixed set of 
  8288. colours. Of course plotter colours depend on the pens. SCIPLOT colours are:     
  8289.      Black                                                                      
  8290.      Blue                                                                       
  8291.      Green                                                                      
  8292.      Cyan                                                                       
  8293.      Red                                                                        
  8294.      Magenta                                                                    
  8295.      Brown                                                                      
  8296.      Light Gray                                                                 
  8297.      Dark Gray                                                                  
  8298.      Light Blue                                                                 
  8299.      Light Green                                                                
  8300.      Light Cyan                                                                 
  8301.      Light Red                                                                  
  8302.      Light Magenta                                                              
  8303.      Yellow                                                                     
  8304.      White                                                                      
  8305.                                                                                 
  8306.                                                                                 
  8307.                                                                                 
  8308.      Comment record:                                                            
  8309.                                                                                 
  8310.      80      byte       Device description                                      
  8311.                                                                                 
  8312.                                                                                 
  8313.      Size record:                                                               
  8314.                                                                                 
  8315.      10      real       Extent of device surface                                
  8316.      Note: defines units used for all sizes in data i.e. divide by this         
  8317.      10      real       width of device in device units (now set from OZGIS.INI)
  8318.      10      real       max address height of device    (now set from OZGIS.INI)
  8319.                                                                                 
  8320.      Type record:                                                               
  8321.                                                                                 
  8322.      10      integer    GKS workstation number                                  
  8323.      10      integer    Display type, 1 = raster display, pixel addressed       
  8324.                                       2 = continuous coordinates                
  8325.      10      integer    Fill type, 1 = solid colour                             
  8326.                                    2 = pattern                                  
  8327.                                    3 = device hatching                          
  8328.                                    4 = OzGIS hatching for OzMAP etc             
  8329.                                    5 = colour simulation for 4 pen plotter      
  8330.      10      integer    Locator device number, 0 = none, 1 = default            
  8331.                                                2 = crosshairs                   
  8332.                                                                                 
  8333.      Advanced Raster Record  (now set fromOZGIS.IN)                             
  8334.                                                                                 
  8335.      10      integer    number of bit planes (1-24)                             
  8336.      10      integer    length of LUT (1-4096)                                  
  8337.      10      integer    number of pixels across screen (256-4096)               
  8338.      10      integer    number of lines on screen (256-4096)                    
  8339.      10      integer    run-length encoding/decoding, 0 = not available         
  8340.                                                                                 
  8341.      Colour definition record:                                                  
  8342.                                                                                 
  8343.      10      integer    number of colours defined                               
  8344.                                                                                 
  8345.  
  8346.                                                                      158
  8347.      Colour table records:                                                      
  8348.                                                                                 
  8349.      10      real       blue value (0.0 - 1.0) for colour table                 
  8350.      10      real       green                                                   
  8351.      10      real       red                                                     
  8352.                                                                                 
  8353.      Hatch definition record:                                                   
  8354.                                                                                 
  8355.      10      integer    number of hatch patterns (0 - 256)                      
  8356.                                                                                 
  8357.      Hatch records (if required):                                               
  8358.                                                                                 
  8359.      10      integer    line number (1 - 8)                                     
  8360.                         (from overlay and quant. lines)                         
  8361.      10      real       line angles (0.0 - 180.0)                               
  8362.      10      real       line separation  (<0.1)                                 
  8363.      10      integer    line number (0 - 4) , 0 = not used                      
  8364.      10      real       second line angle (if reqd)                             
  8365.      10      real       second line separation (if reqd)                        
  8366.                                                                                 
  8367. The rest of the data records set internal tables for GKS primitive              
  8368. attributes.  Most records reference the colour table; the index has range 1     
  8369. to length of table.                                                             
  8370.                                                                                 
  8371.                                                                                 
  8372. A style table is used with the colour table for polygon fill according to       
  8373. the fill type.                                                                  
  8374.                                                                                 
  8375. -  SOLID - the colour is used, style not relevant                               
  8376. -  HATCH - the pen colour is obtained from the colour table, the hatch          
  8377.            pattern number from the style table                                  
  8378. -  PATTERN - the colour table is not used, the style table gives the device     
  8379.              dependent pattern number                                           
  8380.                                                                                 
  8381. Area Fill records:                                                              
  8382.                                                                                 
  8383. 10   integer            colour index                                            
  8384. 10   integer            fill or style index                                     
  8385.                                                                                 
  8386. Several fill records are required, in following order:                          
  8387.                                                                                 
  8388. -  background. NOTE also the menu / messages/ everything colour                 
  8389. -  zone missing data                                                            
  8390. -  excluded zones                                                               
  8391. -  diagram background                                                           
  8392. -  line or site quantisation legend and diagram                                 
  8393. -  8 polygon underlay records                                                   
  8394.                                                                                 
  8395. Text records:                                                                   
  8396.                                                                                 
  8397. 10   integer            colour index                                            
  8398. 10   integer            font number  (1-9)                                      
  8399. 10   integer            text precision 0=STRING, 1=CHAR, 2=STROKE               
  8400. 10   real               height of character space (pixels)                      
  8401. 10   real               width of character space  (pixels)                      
  8402.                                                                                 
  8403. Note:  the DOS version uses sizes that are a multiple of 8 pixels, and will     
  8404. adjust the size accordingly e.g. 8X8, 16X16, 16X8.                              
  8405.  
  8406.                                                                      159
  8407.                                                                                 
  8408. Fonts are available for use on the screen, but are more usually used for output 
  8409. on plotters.                                                                    
  8410.                                                                                 
  8411. The following fonts are available:                                              
  8412.                                                                                 
  8413. For OzMap and DOS version:                                                      
  8414.                                                                                 
  8415. 1 VGA/EGA hardware font or default hardcopy font                                
  8416. 2 Simplex Roman, the most basic                                                 
  8417. 3 Duplex Roman, more detailed than the simplex with about twice as many strokes 
  8418. 4 Complex Roman, similar but with more tapered segments                         
  8419. 5 Triplex Roman, heavier version                                                
  8420. 6 Simplex script, based on handwriting                                          
  8421. 7 Complex script                                                                
  8422. 8 Complex italic italic version of complex roman                                
  8423. 9 Triplex italic                                                                
  8424.                                                                                 
  8425. The windows fonts are defined in the \ozgis\ozgis.ini file                      
  8426.                                                                                 
  8427. The text records are:                                                           
  8428.                                                                                 
  8429. 4 records to define the text available for name overlays at sites or typed      
  8430. in text.                                                                        
  8431. The text is usually defined in increasing size order.                           
  8432.                                                                                 
  8433. Legend text record:  This is fixed size text used for generation of all the     
  8434. legends.  The size is very important as it governs the overall size of the      
  8435. legend e.g. the zone legend boxes are 3 times the text height in height, 2      
  8436. times the text width in width.                                                  
  8437.                                                                                 
  8438. Attribute description text record:  This is normally large text.  The           
  8439. interactive system has to be able to clear it off for each attribute so it      
  8440. should be fixed size hardware text in that case.  When two variates are         
  8441. displayed the two descriptions are separated by                                 
  8442.  a 'VS' or 'AND' generated using the                                            
  8443. legend text.                                                                    
  8444.                                                                                 
  8445.                                                                                 
  8446. Line records:                                                                   
  8447.                                                                                 
  8448. 10   integer            colour index                                            
  8449. 10   integer            GKS type (1-4)                                          
  8450.                         1 = solid, 2 = dashed, 3 = dotted, 4 = dash dot         
  8451.                                                                                 
  8452. The actual records are as follows:                                              
  8453.                                                                                 
  8454. 4 records for lines to be used for line overlays.                               
  8455.                                                                                 
  8456. 4 records for lines to be used for quantised lines (line-type has no            
  8457. meaning here as types are assigned according to quantisation).                  
  8458.                                                                                 
  8459. Note that these first 8 records also define the hatching                        
  8460. plotter 'pens' if applicable.                                                   
  8461.                                                                                 
  8462. A record to define zone boundaries line.                                        
  8463.                                                                                 
  8464. A record to define the line used to draw axes on diagrams (should be            
  8465.  
  8466.                                                                      160
  8467. solid).                                                                         
  8468.                                                                                 
  8469. A record to define the line used to draw statistical values on diagrams.        
  8470.                                                                                 
  8471. Marker records:                                                                 
  8472.                                                                                 
  8473. 10     integer     colour index                                                 
  8474. 10     integer     fill style index                                             
  8475. 10     real        marker height (and width)                                    
  8476. 40     byte        marker file name, left aligned, system format                
  8477.                                                                                 
  8478. The records are as follows:                                                     
  8479.                                                                                 
  8480. 4 records for markers to be used as overlays at sites.                          
  8481.                                                                                 
  8482. 4 records for markers used for sites with quantised attribute data (marker      
  8483. size has no meaning, is set for class).                                         
  8484.                                                                                 
  8485. 1 record for site marker background  (currently not used)                       
  8486.                                                                                 
  8487. 1 record for scatter diagram (GKS marker no 1)                                  
  8488.                                                                                 
  8489. Colour Sequence records (170 records):                                          
  8490.                                                                                 
  8491. 10     integer  colour index                                                    
  8492. 10     integer  style index                                                     
  8493.                                                                                 
  8494. These records give sequences of colours (or patterns) or hatching for           
  8495. colouring zones after quantisation.                                             
  8496.                                                                                 
  8497. There are two types of sequence:                                                
  8498.                                                                                 
  8499. -  a 121 value array for single variate zones followed by                       
  8500. -  a 7x7 array for bivariate                                                    
  8501.                                                                                 
  8502.                                                                                 
  8503. The class fill is found by sampling out of the sequence for the number of       
  8504. classes, e.g. for bivariate                                                     
  8505.                                                                                 
  8506. 2 classes         1        7                                                    
  8507. 3 classes         1   4    7                                                    
  8508. 4 classes         1  3  5  7                                                    
  8509.                                                                                 
  8510. Similarly, the single variate 121 value array allows exact sampling for         
  8511. number of classes 2-7; a best choice is made for 8,9 or 10 classes.  In the     
  8512. special case of pseudo-continuous colour maps the whole 121 values are          
  8513. used.                                                                           
  8514.                                                                                 
  8515. Menu colour records (graphics mode, fixed for text mode)                        
  8516.                                                                                 
  8517. 10 integer background text number (1-8)                                         
  8518. 10 integer foreground text number (1-8)                                         
  8519.                                                                                 
  8520. The menu colours are:                                                           
  8521.                                                                                 
  8522. 1 main menus                                                                    
  8523. 2 lists                                                                         
  8524. 3 help messages                                                                 
  8525.  
  8526.                                                                      161
  8527. 4 input of values                                                               
  8528. 5 error messages                                                                
  8529.                                                                                 
  8530. The 5 menu records for DOS use internal text numbers                            
  8531.                                                                                 
  8532.                                                                                 
  8533. From version 10.7, the standard WINDOWS colours are used for the user interface 
  8534.                                                                                 
  8535. The following no longer applies:                                                
  8536.                                                                                 
  8537. The following 5 records for WINDOWS reference colours in the usuual way.        
  8538. WINDOWS system colour records follow for the GUI elements such as windows       
  8539. titles, scrollbars, buttons etc (some elements such as arrows dont seem to be   
  8540. supported). Video boards with 16 colours seem to have fixed colours, and        
  8541. apparently the hardware colour table is never rewritten. A guess at these       
  8542. colours is in the file WINSV.DAT, which uses the default WINDOWS colours. Video 
  8543. boards with 256 colours are rewritten.                                          
  8544.                                                                                 
  8545.                                                                                 
  8546.                                                                                 
  8547. Note:  Files for advanced raster display systems with long LUT's should be      
  8548. set up as follows:                                                              
  8549.                                                                                 
  8550. -  Display type = 1                                                             
  8551. -  Fill type = 1                                                                
  8552. -  LUT length 256 or greater                                                    
  8553. -  One LUT colour for each record in the data file i.e. all colour index        
  8554.    values unique                                                                
  8555.                                                                                 
  8556. The system by passes the colour index and style index when operating in         
  8557. fast interactive code and accesses the LUT directly.                            
  8558.  
  8559.                                                                      162
  8560.                      B. USA Census data                                   
  8561.                        ===============
  8562.  
  8563.                                                                                 
  8564.                                                                                 
  8565.                                                                                 
  8566.                                                                                 
  8567. This appendix describes the procedure for entering US Census Bureau CD-ROM      
  8568. files into the OzGIS system, and gives examples of the procedures to            
  8569. prepare data and display maps.                                                  
  8570.                                                                                 
  8571.                                                                                 
  8572.                                                                                 
  8573.                                                                                 
  8574.                                                                                 
  8575.  
  8576.   B. 1 Overview                                          
  8577.       --------
  8578.  
  8579. The Census Bureau supplies data on CD-ROM. There are two types supported:       
  8580.                                                                                 
  8581. 1. the population and housing Census data (STF1A files), one State              
  8582.    per CD-ROM                                                                   
  8583.                                                                                 
  8584. 2. the digitised map data (TIGER format) supplied as one County per             
  8585.    CD-ROM                                                                       
  8586.                                                                                 
  8587. The data entry process provides the facilities to input these data, BUT...      
  8588.                                                                                 
  8589. THE FILES MUST BE NAMED IN THE CORRECT WAY as described later.                  
  8590.                                                                                 
  8591. The CD-ROM files can be very large, but the internal OzGIS files are much       
  8592. smaller. Hence the  usual procedure will be to read the raw data files          
  8593. directly off CD-ROM. Processing can take some time.                             
  8594.                                                                                 
  8595. The basic facility provided in the OzGIS system is to map tract/BNA or          
  8596. block group level data on a County basis. Census data can be extracted          
  8597. into one attribute file for one or more Counties. Census boundaries can         
  8598. be extracted into separate files for each county. Multiple county maps          
  8599. are generated by mapping the single attribute file with multiple geographic     
  8600. files.                                                                          
  8601.                                                                                 
  8602. Data for map overlays (e.g. roads) can also be extracted from TIGER data.       
  8603. These data can be displayed without Census data.                                
  8604.                                                                                 
  8605. Other data could be extracted from the CD-ROMs (e.g. blocks, places) and        
  8606. will be supported if there is demand.                                           
  8607.                                                                                 
  8608. The capacity of the OzGIS system can be exceeded by these data. This            
  8609. should be less of a problem with the WINDOWS version as it uses extended memory.
  8610. The capacity should be sufficient to produce tract/BNA maps with overlays for   
  8611. single counties in all cases.                                                   
  8612.                                                                                 
  8613. Generally the procedure for producing tract/BNA maps is to enter the TIGER      
  8614. data for the county of interest and all the STF1A files for the same county     
  8615. by selecting the appropriate options from the data entry menus.                 
  8616.                                                                                 
  8617.  
  8618.                                                                      163
  8619. Usually a new DOS directory will be set up for each map area. It must be on     
  8620. the same disk as the \OZGIS directory.                                          
  8621.                                                                                 
  8622. Census data is often not exactly what is required, PREPARE DATA FOR DISPLAY     
  8623. will probably be used to produce derived attributes. Common processing is to    
  8624. amalgamate age ranges and to normalise by dividing by total population.         
  8625.                                                                                 
  8626. The boundary line segments will probably be thinned to reduce                   
  8627. their size and speed up display by using the PREPARE DATA FOR DISPLAY option.   
  8628.                                                                                 
  8629. The BUILD TOPOLOGY option has to be used to form the polygons from the          
  8630. TIGER lines data.                                                               
  8631.                                                                                 
  8632. Finally the data are mapped with SIMPLE CENSUS-TYPE mapping of INTERACTIVE      
  8633. DISPLAY AND ANALYSIS options.                                                   
  8634.                                                                                 
  8635. The most important sections in this appendix are:                               
  8636.                                                                                 
  8637. Processing STF1A data  and                                                      
  8638. OzGIS Processing of TIGER data                                                  
  8639.                                                                                 
  8640. These sections follow, with an example and further more general information     
  8641. after that.                                                                     
  8642.  
  8643.   B. 2 Documentation                                     
  8644.       -------------
  8645.  
  8646. Extensive documentation is available from the Census Bureau and on the          
  8647. CD-ROMs.                                                                        
  8648.                                                                                 
  8649. Some of that documentation is reproduced here.                                  
  8650.  
  8651.   B. 3 OzGIS Processing of TIGER data                    
  8652.       ------------------------------
  8653.  
  8654. You enter TIGER data into OzGIS with the data entry process.                    
  8655.                                                                                 
  8656. Select IMPORT GEOGRAPHIC FILES from the top menu and then                       
  8657. IMPORT A TIGER FORMAT GEOGRAPHIC FILE                                           
  8658.                                                                                 
  8659. The next menu is:                                                               
  8660.                                                                                 
  8661. TRACTS / BNA                                                                    
  8662. BLOCK GROUPS                                                                    
  8663. BLOCKS                                                                          
  8664. ZIP CODES (IF PRESENT)                                                          
  8665. VOTING DISTRICTS                                                                
  8666. SELECT LANDMARKS BY FEATURE CODES                                               
  8667. SELECT LINES BY FEATURE CODES                                                   
  8668. SELECT POINTS BY FEATURE CODES                                                  
  8669.                                                                                 
  8670. You will probably use options TRACTS / BNA and BLOCK GROUPS to extract          
  8671. boundaries for mapping with STF1A data. The build process has to be used        
  8672. to build the polygons.                                                          
  8673.                                                                                 
  8674. The option SELECT LINES BY FEATURE CODES will also be used often to extract     
  8675. line overlay data such as roads.                                                
  8676.                                                                                 
  8677.  
  8678.                                                                      164
  8679. The Feature codes are described later in this appendix.                         
  8680.                                                                                 
  8681. The TIGER files must be present on hard disk or CD-ROM  with file names in a    
  8682. restricted form.                                                                
  8683.                                                                                 
  8684. It seems that each state is on at least one CD-ROM (some states like California 
  8685. are on two or more, but most are either on one by themselves or share           
  8686. a disk with one or two small states). The structure of the CD-ROM appears       
  8687. to be: general documentation and full state FIPS listing files at               
  8688. the top  (GRF_N_xx, where xx is the state's FIPS code); a subdirectory          
  8689. for each state named by its FIPS code (e.g. Indiana's subdirectory is 18); in   
  8690. each state's subdir are subdirectories for each county, again by FIPS codes     
  8691. (e.g. Allen County, Indiana is 003) using 3 digits; in each of these reside the 
  8692. (finally!) Tiger files of the form TGRXXYYY.F4n, where XX is the STATE code and 
  8693. YYY is the county code and n is the record format code.                         
  8694.                                                                                 
  8695. You usually read data directly off CD-ROM by giving the full file name.         
  8696. The files will probably already be named correctly on CD-ROM, where they usually
  8697. to have extensions of the form ".F4n". e.g. e:/36/121/tgr36121.f41              
  8698. You give the name of any one of the files and that name is used as a            
  8699. template for the rest of the files.                                             
  8700.                                                                                 
  8701. There are two forms of file name:                                               
  8702.                                                                                 
  8703. Firstly, as files are often on CD-ROM with file names of the form, for          
  8704. example boondocks.f41, boondocks.f42, boondocks.f43 etc, the data entry         
  8705. process will look for sets of files with names of the form ????.f4n             
  8706.                                                                                 
  8707. If no files are present of this form it will look for a second form, where      
  8708. the file names must contain the string "TGRn" where n is 1,2,3 or 7. This       
  8709. ensures that related files are named as a set. Files on hard disk are usually   
  8710. given names with extension ".DAT".                                              
  8711.                                                                                 
  8712. Name examples on hard disk are WASHTGR1.DAT, WASHTGR2.DAT, WASHTGR3.DAT,        
  8713. WASHTGR7.DAT and  TGR1NY.DAT and TGR2NY.DAT                                     
  8714.                                                                                 
  8715. Only the files of the required types are required:                              
  8716.                                                                                 
  8717. Extracting Census boundaries usually requires types 1 and 2, but in some        
  8718. cases the zone names (e.g. voting districts or 1980 regions) require that       
  8719. the record type 3 file is also processed.                                       
  8720.                                                                                 
  8721. Extracting lines by feature code requires types 1 and 2.                        
  8722.                                                                                 
  8723. Extracting points by feature codes requires type 1.                             
  8724. Extracting landmark features by feature code requires type 7.                   
  8725.                                                                                 
  8726. Address extraction by feature code requires types 1 and 2. Type 6 records       
  8727. are not processed.                                                              
  8728.  
  8729.   B. 4 Processing STF1A data                             
  8730.       ---------------------
  8731.  
  8732. US Census data STF1A files can be entered into the system with the entry        
  8733. process by choosing IMPORT ATTRIBUTE FILES from the menu and then               
  8734. one of:                                                                         
  8735. IMPORT USA CENSUS STF 1A FILES FOR TRACT/BNA                                    
  8736. IMPORT USA CENSUS STF 1A FILES FOR BLOCK GROUPS                                 
  8737.  
  8738.                                                                      165
  8739.                                                                                 
  8740. The data files must be present with names of the form *1An* where n is in       
  8741. the range 0 to 9. The supplied files on CD-ROM will probably have extensions    
  8742. DBF and file names in the correct form. Data files on hard disk are usually     
  8743. given the extension .DAT                                                        
  8744.                                                                                 
  8745. Example file names are e:/xyz/stf1a0dc.dbf, stf1a0in.dat, wash1a3.dat           
  8746. You do not need to give the file extension if it is the default .DAT            
  8747.                                                                                 
  8748. All files present will be processed, so anywhere between 1 and 10 files         
  8749. will be read. It takes a long time to read all the data, but it will be         
  8750. usual to load it all in once.                                                   
  8751.                                                                                 
  8752. You give the name of any one of the files and that name is used as a            
  8753. template for the rest of the file names.                                        
  8754.                                                                                 
  8755. If you only want to process one or two files you will have to copy them to hard 
  8756. disk. It will be usual to input files directly from CD-ROM as they can be very  
  8757. big. The internal files are much smaller as only a small part of the data is    
  8758. required.                                                                       
  8759.                                                                                 
  8760. THE FIRST STF1A FILE (number zero) MUST ALWAYS BE PRESENT as it contains the    
  8761. level codes necessary to avoid multiple records being extracted.                
  8762.                                                                                 
  8763. A parameter file must be given. These are described in the next section.        
  8764. You can use the supplied parameter file by giving the name as *STF1A, as        
  8765. described in the following section.                                             
  8766.                                                                                 
  8767. You can also set up your own parameter file, probably by modifying the example  
  8768. provided.                                                                       
  8769.                                                                                 
  8770. Attributes (table variables) that are not on the parameter file will not be     
  8771. processed, so a subset can be extracted by including just the appropriate       
  8772. entries in the file.                                                            
  8773.                                                                                 
  8774. You give a list of numbers for the counties you want to process e.g.            
  8775. 001, 005,...                                                                    
  8776.                                                                                 
  8777. If all the values for an attribute are zero nothing is written to the output    
  8778. file for that attribute.                                                        
  8779.                                                                                 
  8780. A log file is output to OZGIS.OUT which lists the attributes output and the     
  8781. position on the file. The positions are of value when generating new            
  8782. attributes as arithmetic expressions and for selecting attributes for display.  
  8783.  
  8784.   B. 5 The STF1A parameter file                          
  8785.       ------------------------
  8786.  
  8787. A parameter file must be used to define the description, units and number of    
  8788. decimal places for each variable (field).                                       
  8789.                                                                                 
  8790. A sample parameter file is provided:   \OZGIS\STF1A.PRM (i.e. called *STF1A)    
  8791.                                                                                 
  8792. This file was generated by editing the STF1A data dictionary, and there is no   
  8793. guarantee that it is correct. (We would be pleased to accept a better version). 
  8794.                                                                                 
  8795. The format is fixed, so ensure any file has data in the correct columns if you  
  8796. modify the file. The first line of the file is a comment, then there is one     
  8797.  
  8798.                                                                      166
  8799. line for each Census table variable that is to be processed in the following    
  8800. format:                                                                         
  8801.                                                                                 
  8802.  8 characters table name                                                        
  8803.  2 characters filler                                                            
  8804. 30 characters variable description                                              
  8805.  2 characters filler                                                            
  8806. 10 characters units description                                                 
  8807.  2 characters filler                                                            
  8808.  1 digit number of decimal places (0 or 2)                                      
  8809.                                                                                 
  8810.                                                                                 
  8811. The example parameter file is as follows:                                       
  8812.                                                                                 
  8813. Sample STF1A parameter file                                                     
  8814. P0010001  TOTAL  PERSONS                  PERSONS     0                         
  8815. P0020001  TOTAL  FAMILIES                 FAMILIES    0                         
  8816. P0030001  TOTAL HOUSEHOLDS                HOUSEHOLDS  0                         
  8817. P0040001  PERSONS INSIDE URBANIZED AREA   PERSONS     0                         
  8818. P0040002  PERSONS OUTSIDE URBANIZED AREA  PERSONS     0                         
  8819.              .                                                                  
  8820.              .                                                                  
  8821.              .                                                                  
  8822.              .                                                                  
  8823.              .                                                                  
  8824.  
  8825.   B. 6 Example                                           
  8826.       -------
  8827.  
  8828. You should have looked at the early chapters on entering data and displaying    
  8829. Census-type maps before you look at this example.                               
  8830.                                                                                 
  8831.                                                                                 
  8832. Suppose you want to produce a map of 1990 Census data for three counties in     
  8833. Texas for tract/BNA zones.                                                      
  8834.                                                                                 
  8835. First you look up the county FIPS codes in the documentation:                   
  8836.                                                                                 
  8837. 48         Texas                                                                
  8838.      .                                                                          
  8839.      .                                                                          
  8840. 48   047   Brooks County                                                        
  8841.      .                                                                          
  8842.      .                                                                          
  8843. 48   117   Deaf Smith County                                                    
  8844.      .                                                                          
  8845.      .                                                                          
  8846. 48   301   Loving County                                                        
  8847.                                                                                 
  8848. So the codes are 047, 117 and 301.                                              
  8849.                                                                                 
  8850.                                                                                 
  8851. Now set up a directory to work in on the SAME disk as the \OZGIS directory.     
  8852.                                                                                 
  8853. e.g.                                                                            
  8854. CD \                                                                            
  8855. MKDIR TEXAS                                                                     
  8856. CD TEXAS                                                                        
  8857.  
  8858.                                                                      167
  8859.                                                                                 
  8860.                                                                                 
  8861. Now get the CD-ROM with the STF1A file for Texas and the TIGER CD-ROMs for      
  8862. the three counties.                                                             
  8863.                                                                                 
  8864. What you need to do is to prepare an attribute file with Census data for        
  8865. the three counties and three geographic files, one for each county.             
  8866.                                                                                 
  8867.                                                                                 
  8868. You will probably find it most profitable to work through this example          
  8869. using your own CD-ROM files.                                                    
  8870.                                                                                 
  8871.                                                                                 
  8872.                                                                                 
  8873. Step1: input the Census data                                                    
  8874. ----------------------------                                                    
  8875.                                                                                 
  8876. Mount the STF1A CD-ROM in the drive. Suppose the files are called               
  8877. TEXAS1A0.DBF ......... TEXAS1A9.DBF.                                            
  8878.                                                                                 
  8879. Select IMPORT DATA FILES from the top menu.                                     
  8880.                                                                                 
  8881. A menu appears:                                                                 
  8882.                                                                                 
  8883. TUTORIALS & SYSTEM INFORMATION                                                  
  8884. IMPORT GEOGRAPHIC FILES                                                         
  8885. IMPORT ATTRIBUTE FILES                                                          
  8886. IMPORT A NAMES FILE                                                             
  8887. IMPORT A COMBINE FILE                                                           
  8888. IMPORT A DEVICE FILE                                                            
  8889. IMPORT A MARKER FILE                                                            
  8890.                                                                                 
  8891. select the option to IMPORT ATTRIBUTE FILES                                     
  8892.                                                                                 
  8893. A new menu appears:                                                             
  8894.                                                                                 
  8895. IMPORT A STANDARD FORMAT ATTRIBUTE FILE                                         
  8896. IMPORT A SPREADSHEET WK1 FORMAT FILE                                            
  8897. IMPORT A DATABASE (SIMPLE) FORMAT ATTRIBUTE FILE                                
  8898. IMPORT A LAMM FORMAT ATTRIBUTE FILE                                             
  8899. IMPORT USA CENSUS STF 1A FILES FOR TRACT/BNA                                    
  8900. IMPORT USA CENSUS STF 1A FILES FOR BLOCK GROUPS                                 
  8901. IMPORT ATLAS DATA FILES                                                         
  8902.                                                                                 
  8903. Obviously you now select:                                                       
  8904.                                                                                 
  8905. IMPORT USA CENSUS STF 1A FILES FOR TRACT/BNA                                    
  8906.                                                                                 
  8907. Give the input data file as E:/xxx/TEXAS1A0.DBF (using the correct drive)       
  8908.                                                                                 
  8909. Give the output attribute file as TEXAS1 (no extension!!)                       
  8910.                                                                                 
  8911. Give the parameter file as *STF1A                                               
  8912.                                                                                 
  8913. Give the numbers for the counties i.e. 047, 117 and 301.                        
  8914.                                                                                 
  8915. All the files will be processed. Trace messages will say what is going on.      
  8916.                                                                                 
  8917.  
  8918.                                                                      168
  8919. Exit from the program.                                                          
  8920.                                                                                 
  8921. Either print the file OZGIS.OUT or copy it to a file. This is a list of         
  8922. the census variables and their positions in the attribute file.                 
  8923.                                                                                 
  8924.                                                                                 
  8925. Some comments ....... the file name given (TEXAS1A0.DBF) is used as a template  
  8926. to generate the other file names (TEXAS1A1.DBF etc) and all files in the set    
  8927. on the CD-ROM are processed.                                                    
  8928.                                                                                 
  8929. If the file name is not of the standard form you have to copy the files to      
  8930. hard disk and rename them.                                                      
  8931.                                                                                 
  8932. You can process just some of the files by copying them to hard disk (the first  
  8933. file, number zero, must always be there). i.e. all the files present are        
  8934. processed.                                                                      
  8935.                                                                                 
  8936.                                                                                 
  8937. Step2: derive census variables (optional)                                       
  8938. -----------------------------------------                                       
  8939.                                                                                 
  8940. You now have an attribute file called TEXAS1 ready for mapping. However,        
  8941. raw Census variables are often not exactly what you want.                       
  8942.                                                                                 
  8943. Suppose you actually want to map teenagers in the age group 12 to 15 years old. 
  8944.                                                                                 
  8945. Also, if you are interested in the way the data are spatially distributed you   
  8946. have to normalise the data to allow for differences in the total number of      
  8947. people in the different tract/BNAs.                                             
  8948.                                                                                 
  8949. This can be done as follows:                                                    
  8950.                                                                                 
  8951. First look at the file OZGIS.OUT from the data entry process to find the        
  8952. variable numbers. Suppose it looks like:                                        
  8953.                                                                                 
  8954.   1  TOTAL  PERSONS                                                             
  8955.     .                                                                           
  8956.     .                                                                           
  8957.     .                                                                           
  8958. 108  12 AND 13 YEARS                                                            
  8959. 109  14 YEARS                                                                   
  8960. 110  15 YEARS                                                                   
  8961.     .                                                                           
  8962.     .                                                                           
  8963.     .                                                                           
  8964.                                                                                 
  8965. The new variable is the sum of the three age variables, divided by the total.   
  8966.                                                                                 
  8967.                                                                                 
  8968. Now select PREPARE DATA FOR DISPLAY from the top menu.                          
  8969.                                                                                 
  8970. The menu looks like:                                                            
  8971.                                                                                 
  8972. PROCESS ATTRIBUTE FILES                                                         
  8973. PROCESS GEOGRAPHIC FILES                                                        
  8974. PROCESS NAMES FILES                                                             
  8975. OUTPUT EXTERNAL DATA FILES                                                      
  8976.                                                                                 
  8977.  
  8978.                                                                      169
  8979.                                                                                 
  8980. Select PROCESS ATTRIBUTE FILES, which gives another menu:                       
  8981.                                                                                 
  8982. FORM ATTRIBUTES WITH ARITHMETIC EXPRESSIONS                                     
  8983. AMALGAMATE ATTRIBUTE DATA FOR AN COMBINE FILE                                   
  8984.                                                                                 
  8985.                                                                                 
  8986. Select FORM ATTRIBUTES WITH ARITHMETIC EXPRESSIONS                              
  8987.                                                                                 
  8988.                                                                                 
  8989. Now you have to specify an input attribute file, which is here TEXAS1, and a    
  8990. new output file, say TEXAS2                                                     
  8991.                                                                                 
  8992. You can then define a series of arithmetic operations (type H for help)         
  8993.                                                                                 
  8994. So you give the arithmetic expression as:                                       
  8995.                                                                                 
  8996. (#108+#109+#110) / #1 * 100.0                                                   
  8997.                                                                                 
  8998. You also have to give a description, say "12 TO 15 YEAR OLDS" and a             
  8999. units description, say "%POP".                                                  
  9000.                                                                                 
  9001. Type an expression "E" to exit.                                                 
  9002.                                                                                 
  9003.                                                                                 
  9004.                                                                                 
  9005. Step 3: Enter the TIGER data                                                    
  9006. ----------------------------                                                    
  9007.                                                                                 
  9008. You will have a CD-ROM for each County. Put the first in the drive.             
  9009.                                                                                 
  9010. Suppose the files for Brooks County have names tgr48047.d41, tgr48047.f42 etc   
  9011.                                                                                 
  9012. Select IMPORT DATA FILES from the top menu.                                     
  9013.                                                                                 
  9014. select IMPORT GEOGRAPHIC FILES and then IMPORT A TIGER FORMAT GEOGRAPHIC FILE.  
  9015.                                                                                 
  9016. The TIGER menu is:                                                              
  9017.                                                                                 
  9018. TRACTS / BNA                                                                    
  9019. BLOCK GROUPS                                                                    
  9020. BLOCKS                                                                          
  9021. ZIP CODES (IF PRESENT)                                                          
  9022. VOTING DISTRICTS                                                                
  9023. SELECT LANDMARKS BY FEATURE CODES                                               
  9024. SELECT LINES BY FEATURE CODES                                                   
  9025. SELECT POINTS BY FEATURE CODES                                                  
  9026.                                                                                 
  9027. Obviously, you need to select TRACTS / BNA as that is what you extracted        
  9028. Census data for.                                                                
  9029.                                                                                 
  9030. As before, give the input data as the name of one of the CD-ROM files, say      
  9031. D:/48/047/TGR48047.F42, and the new geographic file as say BROOKS1              
  9032.                                                                                 
  9033. If there are problems reading the files you may have to copy the ones required  
  9034. to hard disk and rename them, as described in previous sections.                
  9035.                                                                                 
  9036. The file BROOKS1 contains the lines that form the boundaries of the tract/BNAs. 
  9037.  
  9038.                                                                      170
  9039.                                                                                 
  9040. Suppose you also would like to display a lines overlay on your map of important 
  9041. roads.                                                                          
  9042.                                                                                 
  9043. Looking at the section on feature codes you find that a range of 110 to 128     
  9044. covers primary and secondary roads.                                             
  9045.                                                                                 
  9046. So, select SELECT LINES BY FEATURE CODES                                        
  9047.                                                                                 
  9048. Give the input data file as before, and the output geographic file as           
  9049. say BROOKRD                                                                     
  9050.                                                                                 
  9051. Give the feature code range as found: 110 to 128                                
  9052.                                                                                 
  9053.                                                                                 
  9054. Repeat the process for the TIGER files for each of the counties so you          
  9055. end up with a geographic file of boundaries for tract/BNAs for each county,     
  9056. and line overlay files for the roads.                                           
  9057.                                                                                 
  9058.                                                                                 
  9059.                                                                                 
  9060. Step4: Simplify lines                                                           
  9061. ---------------------                                                           
  9062.                                                                                 
  9063. Often you will want to thin the lines data i.e. throw away a lot of the points. 
  9064.                                                                                 
  9065. You do this for several reasons:                                                
  9066.                                                                                 
  9067. .  The less the number of vertices the faster map display is.                   
  9068.                                                                                 
  9069. .  You often dont care if the map is particularly accurate, its the attribute   
  9070. data you are interested in.                                                     
  9071.                                                                                 
  9072. .  Your screen is low resolution, there is no advantage in having many vertices 
  9073. for each pixel on the monitor.                                                  
  9074.                                                                                 
  9075. .  When you form polygons from the lines the number of vertices in some         
  9076. polygons may exceed system limits.                                              
  9077.                                                                                 
  9078. .  Geographic files take less disk space after thinning.                        
  9079.                                                                                 
  9080. Simplification is an option in the data preparation process which reads a       
  9081. geographic file and outputs a new one where the line segments have less points. 
  9082.                                                                                 
  9083. So, select PREPARE DATA FOR DISPLAY from the top menu.                          
  9084.                                                                                 
  9085. Select PROCESS GEOGRAPHIC FILES and then select SIMPLIFY (THIN) LINE SEGMENTS   
  9086.                                                                                 
  9087.                                                                                 
  9088. Give the input file as BROOKS1 and the new output file as BROOKS2.              
  9089.                                                                                 
  9090. The resolution for thinning is given as the number of pixels. For example,      
  9091. if you are displaying maps on a standard VGA at 640 X 480 you might give        
  9092. the resolution as 450 pixels. If you are more interested in speed of            
  9093. display than appearance give a value of 100.                                    
  9094.                                                                                 
  9095. Repeat for the other files.                                                     
  9096.                                                                                 
  9097.  
  9098.                                                                      171
  9099.                                                                                 
  9100. Step5: Form polygons from lines                                                 
  9101. -------------------------------                                                 
  9102.                                                                                 
  9103. The geographic files of tract/BNAs contain the line segments that form the      
  9104. boundaries of the Census regions.                                               
  9105.                                                                                 
  9106. You have to form the zone / polygon / line structure by joining the ends of     
  9107. the lines to form polygons, finding which polygons form the zones and           
  9108. working out which polygons are inside others.                                   
  9109.                                                                                 
  9110.                                                                                 
  9111.                                                                                 
  9112. Select BUILD ZONES FROM LINE SEGMENTS INTO NEW GEOGRAPHIC FILE                  
  9113.                                                                                 
  9114. Give the input geographic file as BROOKS2                                       
  9115.                                                                                 
  9116. Give the output geographic file as BROOKS                                       
  9117.                                                                                 
  9118. The program will now build the polygons etc.                                    
  9119.                                                                                 
  9120. Repeat for the other tract/BNA boundary files (not the roads!)                  
  9121.                                                                                 
  9122.                                                                                 
  9123. If you type "DIR BROO*.GEO" you will find that you have the three geographic    
  9124. files created during processing:                                                
  9125.                                                                                 
  9126. BROOKS.GEO                                                                      
  9127. BROOKS1.GEO                                                                     
  9128. BROOKS2.GEO                                                                     
  9129.                                                                                 
  9130. You only need the final one, so you can delete BROOKS1.GEO and BROOKS2.GEO      
  9131.                                                                                 
  9132.                                                                                 
  9133.                                                                                 
  9134.                                                                                 
  9135. Step6: Display simple maps                                                      
  9136. --------------------------                                                      
  9137.                                                                                 
  9138. You can start by displaying some simple maps with SIMPLE CENSUS-TYPE MAPPING.   
  9139.                                                                                 
  9140. The first menu appears:                                                         
  9141.                                                                                 
  9142. 1 TUTORIALS & SYSTEM INFORMATION                                                
  9143. 2 DISPLAY A NEW MAP                                                             
  9144.                                                                                 
  9145.                                                                                 
  9146. choose the option to "DISPLAY A NEW MAP".                                       
  9147.                                                                                 
  9148. give your attribute file name i.e. TEXAS1                                       
  9149.                                                                                 
  9150. and give your final geographic file name i.e. BROOKS                            
  9151.                                                                                 
  9152. The data are now processed, the map is displayed, and the next menu appears.    
  9153.                                                                                 
  9154. You now have a default map with legend and distribution diagram. The legend     
  9155. has the numbers of zones in each class on the left and the class value ranges   
  9156. to the right of the coloured boxes.                                             
  9157.  
  9158.                                                                      172
  9159.                                                                                 
  9160. If you use an option such as changing the displayed attribute you may have      
  9161.                                                                                 
  9162. Refer to the chapter at the front of the manual on using Census mapping if you  
  9163. have not already looked at the example there.                                   
  9164.                                                                                 
  9165.                                                                                 
  9166.                                                                                 
  9167.                                                                                 
  9168.                                                                                 
  9169. Step7: Display complex maps                                                     
  9170. ---------------------------                                                     
  9171.                                                                                 
  9172. Lets display a map with the three counties tract/BNA geographic files, called   
  9173. say BROOKS, DEAF and LOVING. The raw attribute file TEXAS1 will be used and     
  9174. the three road overlay files BROOKSRD, DEAFRD and LOVINGRD will be used.        
  9175.                                                                                 
  9176. Type OZGIS to execute the main mapping program.                                 
  9177.                                                                                 
  9178. the first menu enables you to select the type of map or diagram that is         
  9179. required:                                                                       
  9180.                                                                                 
  9181. DISPLAY ZONES FOR AN ATTRIBUTE FILE                                             
  9182. DISPLAY LINES FOR AN ATTRIBUTE FILE                                             
  9183. DISPLAY SITES FOR AN ATTRIBUTE FILE                                             
  9184. DISPLAY BIVARIATE ZONES FOR TWO ATTRIBUTE FILES                                 
  9185. DISPLAY ZONES & LINES FOR TWO ATTRIBUTE FILES                                   
  9186. DISPLAY ZONES AND SITES FOR TWO ATTRIBUTE FILES                                 
  9187. DISPLAY GEOGRAPHIC FILES (NO ATTRIBUTES)                                        
  9188. DISPLAY ATTRIBUTE FILES (DIAGRAMS)                                              
  9189. DISPLAY A SAVED-DISPLAY FILE                                                    
  9190. DISPLAY A PRESENTATION FILE                                                     
  9191.                                                                                 
  9192. Select DISPLAY ZONES FOR AN ATTRIBUTE FILE for a straight forward               
  9193. choropleth map.                                                                 
  9194.                                                                                 
  9195. Give the attribute file as TEXAS1 and give one of the geographic boundary       
  9196. files, say BROOKS.                                                              
  9197.                                                                                 
  9198. A map will be displayed that will be the same as that with the Census mapping   
  9199. process. The  difference is that you now have many more options for mapping.    
  9200.                                                                                 
  9201. The main mapping menu will now appear on the toolbar:                           
  9202.                                                                                 
  9203. Attributes                                                                      
  9204. Class                                                                           
  9205. Features                                                                        
  9206. Overlays                                                                        
  9207. Regions                                                                         
  9208. Analyse                                                                         
  9209. Save                                                                            
  9210.                                                                                 
  9211. First we will add the other two tract/BNA files to the map. This requires       
  9212. an understanding of map regions which are defined by both a geographic          
  9213. window and the part of the screen it is to appear on.                           
  9214.                                                                                 
  9215. select MAP REGIONS.                                                             
  9216.                                                                                 
  9217.  
  9218.                                                                      173
  9219. A menu then appears of the following form:                                      
  9220.                                                                                 
  9221. CHANGE THE DISPLAYED ITEMS IN THE MAP                                           
  9222. CHANGE MAP REGION WINDOW (GEOGRAPHIC AREA)                                      
  9223. ZOOM MAP REGION WINDOW ABOUT X-HAIR POINT                                       
  9224. CHANGE MAP REGION VIEWPORT (SCREEN AREA)                                        
  9225. DEFINE NEW REGION FOR QUANTISED ZONES                                           
  9226. DISPLAY MORE QUANTISED ZONES ON A REGION                                        
  9227. DELETE QUANTISED ZONES FROM REGION                                              
  9228.                                                                                 
  9229. What you do next depends on whether the counties are adjacent or not.           
  9230.                                                                                 
  9231. If counties are adjacent, add the files to the existing map region as           
  9232. follows:                                                                        
  9233.                                                                                 
  9234. select ZOOM MAP REGION WINDOW ABOUT X-HAIR POINT, choose a location with        
  9235. the cursor and mouse or arrows (select with left button or Enter). Give         
  9236. a zoom factor, say 4.                                                           
  9237.                                                                                 
  9238. You now have space for the other counties. Select DISPLAY MORE QUANTISED ZONES  
  9239. ON A REGION and give the next boundary geographic file DEAF. Repeat for LOVING. 
  9240.                                                                                 
  9241. If the counties are not adjacent you probably want to display the files in      
  9242. different parts of the screen in their own regions. Use the option              
  9243. DEFINE NEW REGION FOR QUANTISED ZONES to do this.                               
  9244.                                                                                 
  9245. You probably end up with a mess. Use CHANGE MAP REGION WINDOW (GEOGRAPHIC AREA) 
  9246. and CHANGE MAP REGION VIEWPORT (SCREEN AREA) to clean up the map layout.        
  9247.                                                                                 
  9248. You often find that Census maps have very small polygons in the centres of      
  9249. cities. You can add "blow-ups" of the CBDs by using DEFINE NEW REGION FOR       
  9250. QUANTISED ZONES to add a geographic file a second time to the map and then      
  9251. use CHANGE MAP REGION WINDOW (GEOGRAPHIC AREA) to display just the desired      
  9252. area. (you can also use data preparation options to subset for complete polygons
  9253.                                                                                 
  9254. Finally add the roads. Type ESC to go back to the main map menu and             
  9255. select DEFINE GEOGRAPHIC OVERLAYS                                               
  9256.                                                                                 
  9257. A menu appears that offers options for several types of overlays:               
  9258.                                                                                 
  9259. OVERLAY LINE SEGMENTS FROM A GEOGRAPHIC FILE                                    
  9260. OVERLAY MARKERS FOR SITES IN GEOGRAPHIC FILE                                    
  9261. OVERLAY NAMES FOR SITES IN GEOGRAPHIC FILE                                      
  9262. UNDERLAY POLYGONS FROM GEOGRAPHIC FILE                                          
  9263. OVERLAY LINE SEGMENTS FOR FEATURE CODES                                         
  9264. OVERLAY MARKERS FOR SITES FOR FEATURE CODES                                     
  9265. OVERLAY NAMES FOR SITES FOR FEATURE CODES                                       
  9266. UNDERLAY POLYGONS FOR FEATURE CODES                                             
  9267.                                                                                 
  9268. Use OVERLAY LINE SEGMENTS FROM A GEOGRAPHIC FILE to overlay the road geographic 
  9269. files BROOKSRD, DEAFRD and LOVINGRD one at a time. If you have more than one    
  9270. region you will have to give the region number - the number is defined by the   
  9271. order the regions were defined. You could also use OVERLAY LINE SEGMENTS FOR    
  9272. FEATURE CODES and give a feature code range to subset the lines further.        
  9273.                                                                                 
  9274. You can add the names of the tract/BNAs to the map by using OVERLAY NAMES FOR   
  9275. SITES IN GEOGRAPHIC FILE and adding each of the boundary files.                 
  9276.                                                                                 
  9277.  
  9278.                                                                      174
  9279. Having spent all this time you dont want to lose the map, so save it with the   
  9280. option SAVE DISPLAY FEATURES from the main map menu.                            
  9281.                                                                                 
  9282.                                                                                 
  9283. The other options are all described fully elsewhere in the manual.              
  9284.                                                                                 
  9285.                                                                                 
  9286.  
  9287.                                                                      175
  9288.  
  9289.   B. 7 OzGIS Census Zone Names                           
  9290.       -----------------------
  9291.  
  9292. Federal Information Processing Standards (FIPS) codes are assigned              
  9293. for a variety of geographic entities, including American Indian and             
  9294. Alaska Native area, congressional district, county, county subdivision,         
  9295. metropolitan area, place, and State. The structure, format, and meaning         
  9296. of FIPS codes used in the census are shown in the 1990 census                   
  9297. Geographic Identification Code Scheme; in the data dictionary portion of        
  9298. the technical documentation for summary tape files, CD-ROM's, and               
  9299. microfiche.                                                                     
  9300.                                                                                 
  9301. The names assigned to Census polygons in OzGIS are generated from the           
  9302. standard codes.                                                                 
  9303.                                                                                 
  9304. Tract / BNA name = 3digit county + 5 digit tract FIPS code                      
  9305.                                                                                 
  9306. Block group name = 3digit county + 5 digit tract FIPS code + first block digit  
  9307.                                                                                 
  9308. If you want to input your own data try generating a template attribute data     
  9309. file with the data preparation options.                                         
  9310.                                                                                 
  9311. These names are unique only within a state.                                     
  9312.  
  9313.   B. 8 STF1A Census data                                 
  9314.       -----------------
  9315.  
  9316. Summary Tape File 1 (STF 1) contains 100-percent data.  Population items        
  9317. include age, race, sex, marital status, Hispanic origin, household type,        
  9318. and household relationship.  Population items are cross tabulated by age,       
  9319. race, Hispanic origin, or sex.  Housing items include occupancy/vacancy         
  9320. status, tenure, units in structure, contract rent, meals included in            
  9321. rent, value, and number of rooms in housing unit.  Housing data are cross       
  9322. tabulated by race or Hispanic origin of householder or by tenure.               
  9323.                                                                                 
  9324. Selected aggregates and medians also are provided.  Data are presented in       
  9325. 37 population tables (matrices) and 63 housing tables (matrices).               
  9326.  
  9327.   B. 9 STF1A Geographic areas                            
  9328.       ----------------------
  9329.  
  9330.  
  9331.   B. 9. 1 Blocks                                            
  9332.           ------
  9333.  
  9334. Census blocks are small areas bounded on all sides by visible features such     
  9335. as streets, roads, streams, and railroad tracks, and by invisible               
  9336. boundaries such as city, town, township, and county limits, property lines,     
  9337. and short, imaginary extensions of streets and roads.                           
  9338.                                                                                 
  9339.   Tabulation blocks, used in census data products, are in most cases the        
  9340. same as collection blocks, used in the census enumeration. In some              
  9341. cases, collection blocks have been "split" into two or more parts               
  9342. required for data tabulations. Tabulation blocks do not cross the               
  9343. boundaries of counties, county subdivisions, places, census tracts or           
  9344. block numbering areas, American Indian and Alaska Native areas,                 
  9345.  
  9346.                                                                      176
  9347. congressional districts, voting districts, urban or rural areas, or             
  9348. urbanized areas. The 1990 census is the first for which the entire              
  9349. United States and its possessions are block-numbered.                           
  9350.                                                                                 
  9351.   Blocks are numbered uniquely within each census tract or BNA. A block         
  9352. is identified by a three-digit number, sometimes with a single                  
  9353. alphabetical suffix. Block numbers with suffixes generally represent            
  9354. collection blocks that were "split" in order to identify separate               
  9355. geographic entities that divide the original block. For example, when a         
  9356. city limit runs through data collection block 101, the data for the             
  9357. portion inside the city is tabulated in block 101A and the portion              
  9358. outside, in block 101B. A block number with the suffix "Z"                      
  9359. represents a "crews-of-vessels" entity for which the Census                     
  9360. Bureau tabulates data, but that does not represent a true geographic            
  9361. area; such a block is shown on census maps associated with an anchor            
  9362. symbol and a census tract or block numbering area with a .99 suffix.            
  9363.  
  9364.   B. 9. 2 Block Groups                                      
  9365.           ------------
  9366.  
  9367. A geographic block group (BG) is a cluster of blocks having the same            
  9368. first digit of their three-digit identifying numbers within a census            
  9369. tract or block numbering area (BNA). For example, BG 3 within a census          
  9370. tract or BNA includes all blocks numbered between 301 and 397. In most          
  9371. cases, the numbering involves substantially fewer than 97 blocks.               
  9372. Geographic BG's never cross census tract or BNA boundaries, but may             
  9373. cross the boundaries of county subdivisions, places, American Indian            
  9374. and Alaska Native areas, urbanized areas, voting districts, and                 
  9375. congressional districts. BG's generally contain between 250 and 550             
  9376. housing units, with the ideal size being 400 housing units.                     
  9377.  
  9378.   B. 9. 3 Census tract and block numbering area             
  9379.           -------------------------------------
  9380.  
  9381. Block Numbering Area (BNA)                                                      
  9382.                                                                                 
  9383. Block numbering areas (BNA's) are small statistical subdivisions of             
  9384. a county for grouping and numbering blocks in nonmetropolitan counties          
  9385. where local census statistical areas committees have not established            
  9386. census tracts. State agencies and the Census Bureau delineated BNA's            
  9387. for the 1990 census, using guidelines similar to those for the                  
  9388. delineation of census tracts. BNA's do not cross county boundaries.             
  9389.                                                                                 
  9390.   BNA's are identified by a four-digit basic number and may have a              
  9391. two-digit suffix; for example, 9901.07. The decimal point separating            
  9392. the four-digit basic BNA number from the two-digit suffix is shown in           
  9393. printed reports, in microfiche, and on census maps; in machine-readable         
  9394. files, the decimal point is implied. Many BNA's do not have a suffix;           
  9395. in such cases, the suffix field is left blank in all data products. BNA         
  9396. numbers range from 9501 through 9989.99, and are unique within a county         
  9397. (numbers in the range of 0001 through 9499.99 denote a census tract).           
  9398. The suffix .99 identifies a BNA that was populated entirely by persons          
  9399. aboard one or more civilian or military ships. A "crews-of-vessels" BNA         
  9400. appears on census maps only as an anchor symbol with its BNA number (and        
  9401. block numbers on maps showing block numbers); the BNA relates to the ships      
  9402. associated with the onshore BNA's having the same four-digit basic number.      
  9403. Suffixes in the range .80 through .98 usually identify BNA's that either        
  9404. were revised or were created during the 1990 census data collection             
  9405.  
  9406.                                                                      177
  9407. activities. Some of these revisions produced BNA's that have extremely          
  9408. small land area and ay have little or no population or housing. For data        
  9409. analysis, such a BNA can be summarized with an adjacent BNA.                    
  9410.  
  9411.   B. 9. 4 Census Tract                                      
  9412.           ------------
  9413.  
  9414. Census tracts are small, relatively permanent statistical subdivisions of a     
  9415. county. Census tracts are delineated for all metropolitan areas (MA's) and      
  9416. other densely populated counties by local census statistical areas              
  9417. committees following Census Bureau guidelines (more than 3,000 census           
  9418. tracts have been established in 221 counties outside MA's). Six States          
  9419. (California, Connecticut, Delaware, Hawaii, New Jersey, and Rhode Island)       
  9420. and the District of Columbia are covered entirely by census tracts. Census      
  9421. tracts usually have between 2,500 and 8,000 persons and, when first             
  9422. delineated, are designed to be homogeneous with respect to population           
  9423. characteristics, economic status, and living conditions. Census tracts do       
  9424. not cross county boundaries. The spatial size of census tracts varies           
  9425. widely depending on the density of settlement. Census tract boundaries are      
  9426. delineated with the intention of being maintained over a long time so that      
  9427. statistical comparisons can be made from census to census. However,             
  9428. physical changes in street patterns caused by highway construction, new         
  9429. development, etc., may require occasional revisions; census tracts              
  9430. occasionally are split due to large population growth, or combined as a         
  9431. result of substantial population decline. Census tracts are referred to         
  9432. as "tracts" in all 1990 data products.                                          
  9433.                                                                                 
  9434.   Census tracts are identified by a four-digit basic number and may have        
  9435. a two-digit suffix; for example, 6059.02. The decimal point separating          
  9436. the four-digit basic tract number from the two-digit suffix is shown in         
  9437. printed reports, in microfiche, and on census maps; in machine-readable         
  9438. files, the decimal point is implied. Many census tracts do not have a           
  9439. suffix; in such cases, the suffix field is left blank in all data               
  9440. products. Leading zeros in a census tract number (for example, 002502)          
  9441. are shown only on machine-readable files.                                       
  9442.                                                                                 
  9443.   Census tract numbers range from 0001 through 9499.99 and are unique           
  9444. within a county (numbers in the range of 9501 through 9989.99 denote a          
  9445. block numbering area). The suffix .99 identifies a census tract that            
  9446. was populated entirely by persons aboard one or more civilian or                
  9447. military ships. A "crews-of-vessels" census tract appears on                    
  9448. census maps only as an anchor symbol with its census tract number (and          
  9449. block numbers on maps showing block numbers). These census tracts               
  9450. relate to the ships associated with the on-shore census tract having            
  9451. the same four-digit basic number. Suffixes in the range .80 through .98         
  9452. usually identify census tracts that either were revised or were created         
  9453. during the 1990 census data collection activities. Some of these                
  9454. revisions may have resulted in census tracts that have extremely small          
  9455. land area and may have little or no population or housing. For data             
  9456. analysis, such a census tract can be summarized with an adjacent census         
  9457. tract.                                                                          
  9458.  
  9459.   B. 9. 5 County                                            
  9460.           ------
  9461.  
  9462. The primary political divisions of most States are termed "counties." In        
  9463. Louisiana, these divisions are known as "parishes." In Alaska, which has no     
  9464. counties, the county equivalents are the organized "boroughs" and the           
  9465.  
  9466.                                                                      178
  9467. "census areas" that are delineated for statistical purposes by the State of     
  9468. Alaska and the Census Bureau. In four States (Maryland, Missouri, Nevada,       
  9469. and Virginia), there are one or more cities that are independent of any         
  9470. county organization and thus constitute primary divisions of their States.      
  9471. These cities are known as "independent cities" and are treated as               
  9472. equivalent to counties for statistical purposes. That part of Yellowstone       
  9473. National Park in Montana is treated as a county equivalent. The District of     
  9474. Columbia has no primary divisions, and the entire area is considered            
  9475. equivalent to a county for statistical purposes.                                
  9476.                                                                                 
  9477.   Each county and county equivalent is assigned a three-digit FIPS code         
  9478. that is unique within State. These codes are assigned in alphabetical           
  9479. order of county or county equivalent within State, except for the               
  9480. independent cities, which follow the listing of counties.                       
  9481.  
  9482.   B. 9. 6 Hierarchical Presentation                         
  9483.           -------------------------
  9484.  
  9485. A hierarchical geographic presentation shows the geographic entities            
  9486. in a superior/subordinate structure in census products. This structure          
  9487. is derived from the legal, administrative, or areal relationships of            
  9488. the entities. The hierarchical structure is depicted in report tables           
  9489. by means of indentation, and is explained for machine-readable media in         
  9490. the discussion of file structure in the geographic coverage portion of          
  9491. the abstract in the technical documentation. An example of hierarchical         
  9492. presentation is the "standard census geographic hierarchy":  block, within      
  9493. block group, within census tract or block numbering area, within place,         
  9494. within county subdivision, within county, within State, within division,        
  9495. within region, within the United States. Graphically, this is shown as:         
  9496.                                                                                 
  9497.  United States                                                                  
  9498.    Region                                                                       
  9499.      Division                                                                   
  9500.       State                                                                     
  9501.          County                                                                 
  9502.            County subdivision                                                   
  9503.             Place (or part)                                                     
  9504.                Census tract/block numbering area (or part)                      
  9505.                 Block group (or part)                                           
  9506.                    Block                                                        
  9507.  
  9508.   B. 9. 7 Zip codes                                         
  9509.           ---------
  9510.  
  9511. ZIP Codes are administrative units established by the United States             
  9512. Postal Service (USPS) for the distribution of mail. ZIP Codes serve             
  9513. addresses for the most efficient delivery of mail, and therefore                
  9514. generally do not respect political or census statistical area                   
  9515. boundaries. ZIP Codes usually do not have clearly identifiable                  
  9516. boundaries, often serve a continually changing area, are changed                
  9517. periodically to meet postal requirements, and do not cover all the land         
  9518. area of the United States. ZIP Codes are identified by five-digit codes         
  9519. assigned by the USPS. The first three digits identify a major city or           
  9520. sectional distribution center, and the last two digits generally                
  9521. signify a specific post office's delivery area or point. For the 1990           
  9522. census, ZIP Code data are tabulated for the five-digit codes in STF 3B.         
  9523.  
  9524.                                                                      179
  9525.  
  9526.   B.10 The STF1A file                                    
  9527.       --------------
  9528.  
  9529.  
  9530.   B.10. 1 File Segments                                     
  9531.           -------------
  9532.  
  9533. The file is segmented into 10 dBase III (.DBF) files, designated                
  9534. STF1A0ss.DBF through STF1A9ss.DBF where ss is the two-character State           
  9535. abbreviation.  The STF1A0 segment contains the full 67 field identification     
  9536. section.  The identification field names are shown in the Data Dictionary       
  9537. chapter of the technical documentation.  Segments STF1A1 through STF1A9         
  9538. each contain seven identification fields repeated from the STF1A0 segment.      
  9539. They are shown below.                                                           
  9540.                                                                                 
  9541. Identification Fields Common To All Segments                                    
  9542.                                                                                 
  9543.          SUMLEV                    Summary Level                                
  9544.          STATEFP                   State (FIPS)                                 
  9545.          CNTY                      County (FIPS)                                
  9546.          COUSUBFP                  County Subdivision (FIPS)                    
  9547.          PLACEFP                   Place (FIPS)                                 
  9548.          TRACTBNA                  Census Tract/Block Numbering Area            
  9549.          BLCKGR                    Block Group                                  
  9550.          LOGRECNU                  Logical Record Number                        
  9551.                                                                                 
  9552. The segments are divided as shown below.  Tables 12 and 13 go across            
  9553. segments.                                                                       
  9554.                                                                                 
  9555. Data Tables In Each Segment                                                     
  9556.                                                                                 
  9557.          STF1A0                    P1 - P10                                     
  9558.          STF1A1                    P11 - P12(pt.2)                              
  9559.          STF1A2                    P12(pt. 3) - P12(pt. 5)                      
  9560.          STF1A3                    P12(pt. 6) - P12(pt. 8)                      
  9561.          STF1A4                    P12(pt. 9) - P13(pt. 1)                      
  9562.          STF1A5                    P13(pt. 2) - P19                             
  9563.          STF1A6                    P20 - P35                                    
  9564.          STF1A7                    P36, H1 - H20                                
  9565.          STF1A8                    H21 - H40                                    
  9566.          STF1A9                    H41 - H55                                    
  9567.                                                                                 
  9568. Parts of Table P12                                                              
  9569.                                                                                 
  9570. (Each part contains 31 categories of age)                                       
  9571.                                                                                 
  9572.          Part 1                    White males                                  
  9573.          Part 2                    White females                                
  9574.          Part 3                    Black males                                  
  9575.          Part 4                    Black females                                
  9576.          Part 5                    American Indian, Eskimo or Aleut males       
  9577.          Part 6                    American Indian, Eskimo or Aleut females     
  9578.          Part 7                    Asian or Pacific Islander males              
  9579.          Part 8                    Asian or Pacific Islander females            
  9580.          Part 9                    Other race males                             
  9581.          Part 10                    Other race females                          
  9582.  
  9583.                                                                      180
  9584.                                                                                 
  9585. Parts of Table P13                                                              
  9586.                                                                                 
  9587. (Each part contains 31 categories of age)                                       
  9588.                                                                                 
  9589.          Part 1                    Hispanic origin males                        
  9590.          Part 2                    Hispanic origin females                      
  9591.                                                                                 
  9592. You can process all or some of the files.                                       
  9593.  
  9594.   B.10. 2 Field Names In Numeric Data Tables                
  9595.           ----------------------------------
  9596.  
  9597. Fields in numeric data tables are named according to a convention which         
  9598. identifies the tables and the sequence of the data item within the table.       
  9599. The 310 data items in P12, for example, are identified as P0120001 through      
  9600. P0120310.  The one data item in table H23A is identified as H023A001.           
  9601.                                                                                 
  9602. Components Of The Field Name                                                    
  9603.                                                                                 
  9604. Character 1                    P or H                                           
  9605. Character 2-4                  Table number; right justified with               
  9606.                                leading zeroes                                   
  9607. Character 5                    Sub-table letter; zero if not applicable         
  9608. Character 6-8                  Item number; right justified with                
  9609.                                leading zeroes                                   
  9610.  
  9611.   B.11  TIGER US Census Digital Map Data                 
  9612.       ---------------------------------
  9613.  
  9614. The 1990 Census TIGER/Line file provides digital data for all 1990 census       
  9615. map features and boundaries, the associated 1990 census final tabulation        
  9616. geographic area codes (such as 1990 census block numbers), and the codes        
  9617. for the January 1, 1990 legal and statistical areas on both sides of each       
  9618. line segment of every mapped feature.  This version also contains the final     
  9619. voting district codes and the 1990 census designated place codes.               
  9620.                                                                                 
  9621. The 1990 Census TIGER/Line files cover the entire United States, Puerto         
  9622. Rico, the Virgin Islands of the United States, American Samoa, Guam, the        
  9623. Northern Mariana Islands, Palau, the other Pacific entities that were part      
  9624. of the Trust Territory of the United States for the 1980 census (the            
  9625. Marshall Islands and the Federated States of Micronesia), and the Midway        
  9626. Islands (to provide complete mapping within the boundaries of the State of      
  9627. Hawaii).                                                                        
  9628.  
  9629.   B.12  TIGER files                                      
  9630.       ------------
  9631.  
  9632. The normal geographic coverage for a 1990 Census TIGER/Line file is a           
  9633. county.  The files can be combined to cover the whole Nation and its            
  9634. possessions.  Each 1990 Census TIGER/Line file consists of 12 record types      
  9635. that collectively contain geographic information (attributes) such as           
  9636. address ranges and ZIP codes for street segments (only in areas covered by      
  9637. the 1980 GBF/DIME-Files), names and codes of feature types, codes for legal     
  9638. and statistical entities, selected 1980 census geographic area codes,           
  9639. latitude/longitude coordinates of linear and point features, landmark           
  9640. features, area landmarks, and area and polygon boundaries.  The 12 record       
  9641. types are on the tape as 12 separate files.                                     
  9642.  
  9643.                                                                      181
  9644.                                                                                 
  9645.                                                                                 
  9646. The 1990 Census TIGER/Line file contains basic information for 1990 census      
  9647. geographic area codes, basic map features and their names, and address          
  9648. ranges in the form of 12 "Record Types."  The record types are as follows:      
  9649.                                                                                 
  9650.      1.     Basic Data Records (Individual Feature Segment Records)             
  9651.      2.     Shape Coordinate Points (Feature Shape Records)                     
  9652.      3.     Additional Decennial Census Geographic Area Codes                   
  9653.      4.     Index to Alternate Feature Names                                    
  9654.      5.     Feature Name List                                                   
  9655.      6.     Additional Address Range and ZIP Code(2) Information                
  9656.      7.     Landmark Features                                                   
  9657.      8.     Area Landmarks                                                      
  9658.      A.     Additional Polygon Geographic Area Codes                            
  9659.      I.     Area Boundaries                                                     
  9660.      P.     Polygon Location                                                    
  9661.      R.     Record Number Range                                                 
  9662.                                                                                 
  9663. Each segment record contains appropriate decennial census and, when             
  9664. appropriate, FIPS(1) geographic area codes, latitude/longitude coordinates      
  9665. for all line segments and point features, the name of the feature               
  9666. (including the relevant census feature class code identifying the segment       
  9667. by category), and, for areas formerly covered by the GBF/DIME-Files, the        
  9668. address ranges and the ZIP Code associated with those address ranges for        
  9669. each side of street segments.  For other areas, the TIGER/Line files do not     
  9670. contain address ranges or ZIP Codes.  The shape records provide coordinate      
  9671. values that describe the shape of those feature segments that are not           
  9672. straight.                                                                       
  9673.                                                                                 
  9674. Record types 1,2,3 and 7 are processed by OzGIS. The types used depend on       
  9675. the options chosen:                                                             
  9676.                                                                                 
  9677. Record Type 1:    Basic Data Record                                             
  9678.                                                                                 
  9679. Record Type 1 provides a single record for each unique line segment in the      
  9680. 1990 Census TIGER/Line file.  The end points of the line segments are           
  9681. expressed in latitude/longitude coordinate values in degrees and decimal        
  9682. fractions of a degree to six decimal places.  This record also contains         
  9683. address ranges and ZIP codes (in selected areas) and geographic area codes      
  9684. for each side of the line segment.  By convention, if one is standing at        
  9685. the "from" coordinate position facing the "to" coordinate position,             
  9686. data listed in the fields carrying a right qualifier would indeed be found      
  9687. to the right of the line segment.  Data users can collect the necessary         
  9688. segments to construct polygons and features that intersect from the             
  9689. information contained in this basic record.                                     
  9690.                                                                                 
  9691. Record Type 2:   Shape Coordinate Points                                        
  9692.                                                                                 
  9693. Record Type 2 provides an additional series of latitude and longitude           
  9694. coordinate values that describe the shape of each line segment that is not      
  9695. straight for the associated Record Type 1.  All coordinate values are           
  9696. expressed in degrees and decimal fractions of a degree of latitude and          
  9697. longitude.  The decimals are carried to six places to permit the                
  9698. representation of lines that are very close to one another.  If the segment     
  9699. in Record Type 1 is a straight line, there will not be a Record Type 2.         
  9700.                                                                                 
  9701. Record Type 3:   Additional Decennial Census Geographic Area Codes              
  9702.  
  9703.                                                                      182
  9704.                                                                                 
  9705. Record Type 3 includes the 1990 voting district codes provided to the           
  9706. Census Bureau for the 1990 Census Redistricting Data Program.  Record Type      
  9707. 3 also includes some 1980 census geographic area codes and 1990 census          
  9708. geographic area codes not included on Record Type 1.  The 1980 census block     
  9709. numbers are available only for areas covered by the 1980 GBF/DIME-Files.        
  9710. During the conversion of the 1980 GBF/DIME-Files to the TIGER data base         
  9711. format, some 1980 census block numbers may have been deleted or changed.        
  9712. Users are advised to check all 1980 census geographic area codes,               
  9713. especially any 1980 block numbers, before using them in a planned               
  9714. application.  The Census Bureau has not verified any of the 1980 census         
  9715. geographic area codes in these files.  There will be discrepancies between      
  9716. the geographic area boundaries and codes in these files and the 1980 census     
  9717. maps, which are the basis for the 1980 census tabulations.                      
  9718.                                                                                 
  9719. The TIGER/Line files may contain 1980 block numbers for portions of the         
  9720. country where the Census Bureau did not tabulate 1980 census data by block      
  9721. or block group.  These situations occur because these portions of the TIGER     
  9722. file originated from the 1980 GBF/DIME-Files that extended beyond the 1980      
  9723. block-numbered area.  Data users concerned about the validity of 1980 block     
  9724. numbers are advised to discard all 1980 block numbers that do not               
  9725. correspond to block numbers in the 1980 MARF or 1980 STF files.                 
  9726.                                                                                 
  9727. Record Type 6:   Additional Address Range and ZIP Code Data                     
  9728.                                                                                 
  9729. Record Type 6 provides additional address range information for a street        
  9730. segment when the information cannot be presented as a single address range      
  9731. (e.g., the house/building numbers are not uniformly arranged to form an         
  9732. address range).  Additional ZIP Codes, if any, also appear in Record Type 6     
  9733. for corresponding address ranges.  Record Type 6 appears only for those         
  9734. counties that have address ranges and ZIP Code information in the TIGER         
  9735. data base.  There is no assurance that the address ranges provided on           
  9736. Record Type 6 will be "shorter" than those appearing on Record Type 1.          
  9737. Data users must use Record Type 6 to obtain the complete picture of the         
  9738. potential address ranges along a segment.                                       
  9739.                                                                                 
  9740.                                                                                 
  9741. Record Type 7:   Landmark Features                                              
  9742.                                                                                 
  9743. Record Type 7 contains the area and point landmarks in the Census Bureau's      
  9744. TIGER data base.  During the extraction of this data, we assigned a             
  9745. temporary Landmark Identification Number that we use to link the landmark       
  9746. attributes to the polygons that comprise the landmark.  If there is no          
  9747. landmark in a county file, there will be no Record Type 7 or Record Type 8      
  9748. for that county file.                                                           
  9749.  
  9750.   B.13 TIGER Geographic Area Definitions                 
  9751.       ---------------------------------
  9752.  
  9753. United States - The 50 States and the District of Columbia.                     
  9754.                                                                                 
  9755. States and Statistically Equivalent Areas - The 50 States; in addition, we      
  9756. treat the District of Columbia, Puerto Rico, and each of the outlying           
  9757. areas-American Samoa, Guam, the Northern Mariana Islands, Palau, and the        
  9758. Virgin Islands of the United States-as statistical equivalents to States        
  9759. for presentation.  We also have TIGER/Line files for the Marshall Islands,      
  9760. the Federated States of Micronesia, and the Midway Islands.                     
  9761.                                                                                 
  9762.  
  9763.                                                                      183
  9764. Counties, Parishes, Statistically Equivalent Areas - The first-order            
  9765. divisions of each State, the District of Columbia, Puerto Rico, and the         
  9766. outlying areas:  counties for 48 States; parishes for Louisiana; boroughs       
  9767. and census areas for Alaska; independent cities in Maryland, Missouri,          
  9768. Nevada, and Virginia; Yellowstone National Park in Montana, "District of        
  9769. Columbia" for the District of Columbia, municipios in Puerto Rico; other        
  9770. entities in the outlying areas.                                                 
  9771.                                                                                 
  9772. Minor Civil Divisions (MCDs) - Legally defined subcounty areas such as          
  9773. towns and townships.  For the 1990 census, these are found in 28 States,        
  9774. Puerto Rico, and the outlying areas.                                            
  9775.                                                                                 
  9776. Sub-MCDs - Legally defined subdivisions of a minor civil division;              
  9777. specifically,  subbarrios in Puerto Rico, and municipal districts in the        
  9778. Federated States of Micronesia.                                                 
  9779.                                                                                 
  9780. Incorporated Places - Legal units incorporated as a city, town (excluding       
  9781. the New England States, New York, and Wisconsin), borough (excluding Alaska     
  9782. and New York), or village.                                                      
  9783.                                                                                 
  9784. American Indian Reservations - American Indian areas with boundaries            
  9785. established by treaty, statute, and/or executive or court order.                
  9786.                                                                                 
  9787. Alaska Native Regional Corporations (ANRCs) - Corporate entities                
  9788. established by the Alaska Native Claims Settlement Act (P.L. 92-203) to         
  9789. carry out the business and non-profit operations established by and for         
  9790. Native Alaskans under the Act.  Twelve ANRCs have specific boundaries and       
  9791. cover the State of Alaska except for the Annette Islands Reserve.               
  9792.                                                                                 
  9793. Statistical Areas                                                               
  9794.                                                                                 
  9795. Alaska Native Village Statistical Areas (ANVSAs) - 1990 census statistical      
  9796. areas that delineate the settled area of each Alaska Native village (ANV).      
  9797. Officials of Alaska Native Regional Corporations (ANRCs) and other              
  9798. appropriate State officials delineated the ANVSAs for the Census Bureau for     
  9799. the sole purpose of presenting census data.                                     
  9800.                                                                                 
  9801. Tribal Designated Statistical Areas (TDSAs) - Geographic areas delineated       
  9802. for 1990 census data tabulation purposes by tribal officials of Federally       
  9803. and State-recognized tribes outside of Oklahoma that do not have a legally      
  9804. defined reservation.                                                            
  9805.                                                                                 
  9806. Tribal Jurisdiction Statistical Areas (TJSAs) - Geographic areas delineated     
  9807. for 1990 census data tabulation purposes by tribal officials in Oklahoma        
  9808. for Federally recognized tribes that do not have a legally defined              
  9809. reservation.                                                                    
  9810.                                                                                 
  9811. Census County Divisions (CCDs) - Areas delineated by the Census Bureau in       
  9812. cooperation with State and local officials in States where MCDs are not         
  9813. adequate for reporting subcounty statistics.                                    
  9814.                                                                                 
  9815. Unorganized Territories (UTs) - Areas delineated by the Census Bureau for       
  9816. those portions of a State with MCDs where MCDs do not exist or are not          
  9817. adequate for reporting subcounty statistics.                                    
  9818.                                                                                 
  9819. Census Designated Places (CDPs) - Densely settled population centers            
  9820. without legally defined corporate limits or corporate powers, defined in        
  9821. cooperation with State officials and local data users.                          
  9822.  
  9823.                                                                      184
  9824.                                                                                 
  9825. Census Tracts - Small, locally delineated statistical areas within selected     
  9826. counties, generally having stable boundaries and, when first established by     
  9827. local committees, designed to have relatively homogeneous demographic           
  9828. characteristics.                                                                
  9829.                                                                                 
  9830. Block Numbering Areas (BNAs) - Areas delineated by State governments or the     
  9831. Census Bureau for the purpose of grouping and numbering blocks in counties      
  9832. without census tracts.                                                          
  9833.                                                                                 
  9834. Census Blocks - Small, usually compact areas, usually bounded by streets        
  9835. and other prominent physical features as well as boundaries of legal areas      
  9836. for which the Census Bureau tabulates data.  Blocks do not cross county,        
  9837. census tract, or BNA boundaries.                                                
  9838.                                                                                 
  9839. Voting Districts (VTDs) - For the 1990 census, the term "voting district"       
  9840. replaces the 1980 census term "election precinct."  A voting district is        
  9841. any of a variety of areas (for example, election districts, precincts,          
  9842. legislative districts, wards) defined by State and local governments for        
  9843. purposes of elections.  The 1990 voting district codes that appear in the       
  9844. 1990 census version of the TIGER/Line files were supplied by the State          
  9845. under the 1990 Census Redistricting Data Program.  The boundaries of the        
  9846. voting districts recorded in the TIGER/Line files may represent pseudo-         
  9847. voting districts; the States were required to have voting districts follow      
  9848. 1990 census block boundaries, and therefore they may have had to relocate       
  9849. the boundaries of actual voting districts to a nearby feature used as a         
  9850. block boundary.  States had the option of participating in the program on a     
  9851. county-by-county basis.  Voting districts do not appear in all TIGER/Line       
  9852. files.                                                                          
  9853.  
  9854.   B.14 TIGER feature codes                               
  9855.       -------------------
  9856.  
  9857. Data can be extracted from the TIGER files and subset for display by            
  9858. feature codes.                                                                  
  9859.                                                                                 
  9860. Feature codes are derived from the Census Feature Class Codes (CFCC)            
  9861. by changing the leading alphabetic character by its position in the             
  9862. alphabet.                                                                       
  9863.                                                                                 
  9864. This is a series of codes that provides more detailed information on the        
  9865. classification of the line segment, such as class of road, class of stream,     
  9866. and so forth.                                                                   
  9867.                                                                                 
  9868. A list of these codes follows.                                                  
  9869.                                                                                 
  9870. CFCC    CLASSIFICATION A = ROAD FEATURES                                        
  9871.                                                                                 
  9872. 100     Road, Classification Unknown or Not Elsewhere Classified                
  9873. 101     Road, undivided                                                         
  9874. 102     Road, undivided, in tunnel                                              
  9875. 103     Road, undivided, underpassing                                           
  9876. 104     Road, undivided, rail line in center                                    
  9877. 105     Road, divided                                                           
  9878. 106     Road, divided, in tunnel                                                
  9879. 107     Road, divided, underpassing                                             
  9880. 108     Road, divided, rail line in center                                      
  9881.                                                                                 
  9882.  
  9883.                                                                      185
  9884. 110     Primary road, interstate highway and limited access road                
  9885. 111     Primary road, interstate highway and limited access road, undivided     
  9886. 112     Primary road, interstate highway and limited access road,               
  9887.          undivided, in tunnel                                                   
  9888. 113     Primary road, interstate highway and limited access road,               
  9889.          undivided, underpassing                                                
  9890. 114     Primary road, interstate highway and limited  access road,              
  9891.          undivided, rail line in center                                         
  9892. 115     Primary road, interstate highway and limited access road, divided       
  9893. 116     Primary road, interstate highway and limited access road, divided,      
  9894.          in tunnel                                                              
  9895. 117     Primary road, interstate highway and limited access road, divided,      
  9896.          underpassing                                                           
  9897. 118     Primary road, interstate highway and limited access road, divided,      
  9898.          rail line in center                                                    
  9899.                                                                                 
  9900. 120     Secondary road, U.S. highway not classified 110, and state roads        
  9901. 121     Secondary road, U.S. highway not classified 110, and state roads,       
  9902.          undivided                                                              
  9903. 122     Secondary road, U.S. highway not classified 110, and state roads,       
  9904.          undivided, in tunnel                                                   
  9905. 123     Secondary road, U.S. highway not classified 110, and state roads,       
  9906.          undivided, underpassing                                                
  9907. 124     Secondary road, U.S. highway not classified 110, and state roads,       
  9908.          undivided, rail line in center                                         
  9909. 125     Secondary road, U.S. highway not classified 110, and state roads,       
  9910.          divided                                                                
  9911. 126     Secondary road, U.S. highway not classified 110, and state roads,       
  9912.          divided, in tunnel                                                     
  9913. 127     Secondary road, U.S. highway not classified 110, and state roads,       
  9914.          divided, underpassing                                                  
  9915. 128     Secondary road, U.S. highway not classified 110, and state roads,       
  9916.          divided, rail line in center                                           
  9917.                                                                                 
  9918. 130     Connecting road, county roads, and roads not classified as 110 or       
  9919.          120                                                                    
  9920. 131     Connecting road, county roads, and roads not classified as 110 or       
  9921.          120, undivided                                                         
  9922. 132     Connecting road, county roads, and roads not classified as 110 or       
  9923.          120, undivided, in tunnel                                              
  9924. 133     Connecting road, county roads, and roads not classified as 110 or       
  9925.          120, undivided, underpassing                                           
  9926. 134     Connecting road, county roads, and roads not classified as 110 or       
  9927.          120, undivided, rail line in center                                    
  9928. 135     Connecting road, county roads, and roads not classified as 110 or       
  9929.          120, divided                                                           
  9930. 136     Connecting road, county roads, and roads not classified as 110 or       
  9931.          120, divided, in tunnel                                                
  9932. 137     Connecting road, county roads, and roads not classified as 110 or       
  9933.          120, divided, underpassing                                             
  9934. 138     Connecting road, county roads, and roads not classified as 110 or       
  9935.          120, divided, rail line in center                                      
  9936.                                                                                 
  9937. 140     Neighborhood roads, city streets and unimproved roads                   
  9938. 141     Neighborhood roads, city streets and unimproved roads, undivided        
  9939. 142     Neighborhood roads, city streets and unimproved roads, undivided,       
  9940.          in tunnel                                                              
  9941. 143     Neighborhood roads, city streets and unimproved roads, undivided,       
  9942.  
  9943.                                                                      186
  9944.          underpassing                                                           
  9945. 144     Neighborhood roads, city streets and unimproved roads, undivided,       
  9946.          rail line in center                                                    
  9947. 145     Neighborhood roads, city streets and unimproved roads, divided          
  9948. 146     Neighborhood roads, city streets and unimproved roads, divided, in      
  9949.          tunnel                                                                 
  9950. 147     Neighborhood roads, city streets and unimproved roads, divided,         
  9951.          underpassing                                                           
  9952. 148     Neighborhood roads, city streets and unimproved roads, divided,         
  9953.          rail line in center                                                    
  9954.                                                                                 
  9955. 150     Jeep trail, passable only by four-wheel drive (4WD) vehicle             
  9956. 151     Jeep trail, passable only by four-wheel drive (4WD) vehicle,            
  9957.          undivided                                                              
  9958. 152     Jeep trail, passable only by four-wheel drive (4WD) vehicle,            
  9959.          undivided, in tunnel                                                   
  9960. 153     Jeep trail, passable only by four-wheel drive (4WD) vehicle,            
  9961.          undivided, underpassing                                                
  9962.                                                                                 
  9963. 160     Special Road Feature                                                    
  9964. 161     Cul-de-sac                                                              
  9965. 162     Traffic circle                                                          
  9966. 163     Cloverleaf or interchange                                               
  9967. 164     Service drive                                                           
  9968. 165     Ferry crossing                                                          
  9969.                                                                                 
  9970. 170     Other Thoroughfare                                                      
  9971. 171     Walkway                                                                 
  9972. 172     Stairway                                                                
  9973. 173     Alley                                                                   
  9974.                                                                                 
  9975. NOTE:  In the portion of the TIGER/Line file prepared from the GBF/DIME-        
  9976. Files, the roads are classified as Class 4 roads with a few exceptions.         
  9977. The interstate highways that were identified by name as such in the             
  9978. GBF/DIME-File, are classified as Class 1 roads.  Also, in the GBF/DIME-File     
  9979. coverage areas, users may not find many roads with alternate names; if an       
  9980. alternate name is provided, it usually represents another local name and        
  9981. not a Route Number.                                                             
  9982.                                                                                 
  9983. CFCC    CLASSIFICATION B = RAIL FEATURES                                        
  9984.                                                                                 
  9985. 200     Railroad, Classification Unknown or Not Elsewhere Classified            
  9986. 201     Railroad track                                                          
  9987. 202     Railroad track, in tunnel                                               
  9988. 203     Railroad track, underpassing                                            
  9989.                                                                                 
  9990. 210     Railroad Main Track                                                     
  9991. 211     Railroad main track                                                     
  9992. 212     Railroad main track, in tunnel                                          
  9993. 213     Railroad main track, underpassing                                       
  9994.                                                                                 
  9995. 220     Railroad Spur Track                                                     
  9996. 221     Railroad spur track                                                     
  9997. 222     Railroad spur track, in tunnel                                          
  9998. 223     Railroad spur track, underpassing                                       
  9999.                                                                                 
  10000. 230     Railroad Yard                                                           
  10001. 231     Railroad yard                                                           
  10002.  
  10003.                                                                      187
  10004. 232     Railroad yard, in tunnel                                                
  10005. 233     Railroad yard, underpassing                                             
  10006.                                                                                 
  10007. 240     Railroad Ferry Crossing                                                 
  10008.                                                                                 
  10009. 250     Other Rail Feature                                                      
  10010. 251     Carline                                                                 
  10011. 252     Cog railroad, incline railway, or logging tram                          
  10012.                                                                                 
  10013. CFCC    CLASSIFICATION C = PIPELINES, POWER TRANSMISSION LINES, AND             
  10014.               MISCELLANEOUS TRANSPORTATION FEATURES                             
  10015.                                                                                 
  10016. 300     Special Transportation Feature, Classification Unknown or Not           
  10017.          Elsewhere Classified                                                   
  10018.                                                                                 
  10019. 310     Pipeline                                                                
  10020.                                                                                 
  10021. 320     Power Transmission Line                                                 
  10022.                                                                                 
  10023. 330     Other Special Transportation Feature                                    
  10024. 331     Aerial tramway, monorail, or ski lift                                   
  10025.                                                                                 
  10026. CFCC    CLASSIFICATION D = LANDMARK FEATURES                                    
  10027.                                                                                 
  10028. 400     Landmark Feature, Classification Unknown or Not Elsewhere               
  10029.          Classified                                                             
  10030.                                                                                 
  10031. 410     Military installation                                                   
  10032.                                                                                 
  10033. 420     Multihousehold and transient quarters                                   
  10034. 421     Apartment building or complex                                           
  10035. 422     Rooming or boarding house                                               
  10036. 423     Trailer court or mobile home park                                       
  10037. 424     Marina                                                                  
  10038. 425     Crew of vessel                                                          
  10039. 426     Housing facility for workers                                            
  10040. 427     Hotel, motel, resort, spa, YMCA, or YWCA                                
  10041. 428     Campground                                                              
  10042. 429     Shelter or mission                                                      
  10043.                                                                                 
  10044. 430     Custodial facility                                                      
  10045. 431     Hospital                                                                
  10046. 432     Halfway house                                                           
  10047. 433     Nursing home, retirement home, or home for the aged                     
  10048. 434     County home or poor farm                                                
  10049. 435     Orphanage                                                               
  10050. 436     Jail or detention center                                                
  10051. 437     Federal penitentiary, state prison, or prison farm                      
  10052.                                                                                 
  10053. 440     Educational or religious institution                                    
  10054. 441     Sorority or fraternity                                                  
  10055. 442     Convent or monastery                                                    
  10056. 443     Educational institution                                                 
  10057. 444     Religious institution                                                   
  10058.                                                                                 
  10059. 450     Transportation terminal                                                 
  10060. 451     Airport or airfield                                                     
  10061. 452     Train station                                                           
  10062.  
  10063.                                                                      188
  10064. 453     Bus terminal                                                            
  10065. 454     Marine terminal                                                         
  10066. 455     Seaplane anchorage                                                      
  10067.                                                                                 
  10068. 460     Employment center                                                       
  10069. 461     Shopping center or major retail center                                  
  10070. 462     Industrial building or industrial park                                  
  10071. 463     Office building or office park                                          
  10072. 464     Amusement center                                                        
  10073. 465     Government center                                                       
  10074. 466     Other employment center                                                 
  10075.                                                                                 
  10076. 470     Tower                                                                   
  10077. 471     Lookout tower                                                           
  10078.                                                                                 
  10079. 480     Open space                                                              
  10080. 481     Golf course                                                             
  10081. 482     Cemetery                                                                
  10082. 483     National park or forest                                                 
  10083. 484     Other federal land                                                      
  10084. 485     State or local park or forest                                           
  10085.                                                                                 
  10086. 490     Special purpose landmark                                                
  10087. 491     Post office box ZIP code                                                
  10088.                                                                                 
  10089. CFCC    CLASSIFICATION E = OTHER PHYSICAL FEATURES                              
  10090.                                                                                 
  10091. 500     Physical Feature, Classification Unknown or Not Elsewhere               
  10092.          Classified                                                             
  10093.                                                                                 
  10094. 510     Fence line                                                              
  10095. 520     Topographic feature                                                     
  10096. 521     Ridge line                                                              
  10097. 522     Mountain peak                                                           
  10098.                                                                                 
  10099. CFCC    CLASSIFICATION F = NONVISIBLE BOUNDARIES                                
  10100.                                                                                 
  10101. 600     Nonvisible Boundary, Classification unknown or not Elsewhere            
  10102.          Classified                                                             
  10103.                                                                                 
  10104. 610     Nonvisible Political Boundary                                           
  10105. 611     Offset corporate boundary                                               
  10106. 612     Corporate Corridor                                                      
  10107. 613     Nonvisible interpolated boundary, polygon definition line for           
  10108.          hydrological areas                                                     
  10109.                                                                                 
  10110. 620     Feature Extension, Not Otherwise Classified                             
  10111. 621     Automated extension                                                     
  10112. 622     Irregular block extension                                               
  10113. 623     Closure extension                                                       
  10114. 624     Nonvisible separation line                                              
  10115. 625     Nonvisible corporate corridor centerline                                
  10116.                                                                                 
  10117. 630     Point-to-Point Line                                                     
  10118.                                                                                 
  10119. 640     Property Line                                                           
  10120.                                                                                 
  10121. 650     ZIP Code Boundary                                                       
  10122.  
  10123.                                                                      189
  10124.                                                                                 
  10125. 660     Map Edge                                                                
  10126.                                                                                 
  10127. 670     Statistical Boundary                                                    
  10128. 671     1980 Statistical Boundary                                               
  10129. 672     1990 Block Boundary                                                     
  10130. 673     1990 Statistical Boundary                                               
  10131. 674     1990 Statistical Boundary, Tabulation Areas Only                        
  10132.                                                                                 
  10133. CFCC    CLASSIFICATION H = HYDROGRAPHIC FEATURES                                
  10134.                                                                                 
  10135. 800     Water Feature, Classification Unknown or Not Elsewhere Classified       
  10136.                                                                                 
  10137. 801     Shoreline of perennial water feature                                    
  10138. 802     Shoreline of intermittent water feature                                 
  10139.                                                                                 
  10140. 810     Stream                                                                  
  10141. 811     Perennial stream                                                        
  10142. 812     Intermittent stream or wash                                             
  10143. 813     Braided stream                                                          
  10144.                                                                                 
  10145. 820     Canal, Ditch, or Aqueduct                                               
  10146. 821     Perennial canal, ditch, or aqueduct                                     
  10147. 822     Intermittent canal, ditch, or aqueduct                                  
  10148.                                                                                 
  10149. 830     Lake or pond                                                            
  10150. 831     Perennial lake or pond                                                  
  10151. 832     Intermittent lake or pond                                               
  10152.                                                                                 
  10153. 840     Reservoir                                                               
  10154. 841     Perennial reservoir                                                     
  10155. 842     Intermittent reservoir                                                  
  10156.                                                                                 
  10157. 850     Bay, Estuary, Gulf, Sound, Sea, or Ocean                                
  10158. 851     Bay, estuary, gulf, or sound                                            
  10159. 853     Sea or ocean                                                            
  10160.                                                                                 
  10161. 860     Gravel Pit or Quarry Filled With Water                                  
  10162.                                                                                 
  10163. 870     Nonvisible Water Area Definition Boundary                               
  10164. 871     USGS closure line                                                       
  10165. 872     Census computed center line                                             
  10166. 873     Census international water boundary, 10-mile limit, area                
  10167.          measurement line                                                       
  10168. 874     Census water boundary, inland or coastal or Great Lakes                 
  10169. 875     3-mile limit water boundary                                             
  10170.                                                                                 
  10171. 880     Special Water Feature                                                   
  10172. 881     Glacier                                                                 
  10173.                                                                                 
  10174.  
  10175.                                                                      190
  10176.                      C. CONFIGURING OZGIS                                 
  10177.                        =================
  10178.  
  10179.                                                                                 
  10180.                                                                                 
  10181. This appendix provides additional information about configuring OzGIS.          
  10182.                                                                                 
  10183. You should read the the information in the early chapter first as that provides 
  10184. most of the information you need.                                               
  10185.                                                                                 
  10186.                                                                                 
  10187.  
  10188.   C. 1 Hardcopy configuration for  OzMap                 
  10189.       ---------------------------------
  10190.  
  10191. This section is applicable if you want to output maps to printers or            
  10192. plotters with the OzMap and Vector programs.                                    
  10193.                                                                                 
  10194. The configuration file \ozgis\sciplot.ini has to be set up if OzMap is going to 
  10195. be used to produce hardcopy maps. The file looks like:                          
  10196.                                                                                 
  10197. VGA                                  VGA or EGA                                 
  10198. 40.0      0                          HP Plotter metafile                        
  10199. 18.0      1                          Dot-matrix printer metafile                
  10200. 18.0      1                          Postscript Ascii metafile                  
  10201. 18.0      1                          Encapsulated Postscript file               
  10202. 18.0      0                          HPGL file                                  
  10203. 18.0      1                          CGM file                                   
  10204. 18.0      0                          WordPerfect graphics file                  
  10205. 18.0      1 COM1                     On-line Apple Laser Writer                 
  10206. 40.0      0 LPT1                     On-line HP plotter                         
  10207. 00C3                                 device mode & serial modes HEXIDECIMAL     
  10208.                                                                                 
  10209. The first column is the width of the drawing surface in cm. Values will need to 
  10210. be set for your plotter or printer.                                             
  10211.                                                                                 
  10212. The second column is the drawing line width for Postscript, Encapsulated        
  10213. Postscript, Apple LaserWriter, Computer Graphics Metafile, dot matrix, and HP   
  10214. LaserJet printers.                                                              
  10215. 0  = Ignore parameter                                                           
  10216. 1  = 1 device space units (1-10 Valid)                                          
  10217.                                                                                 
  10218. The third column is the port used for printers and plotters:                    
  10219. 'COM' - Primary Serial Port                                                     
  10220. 'COM2'- Secondary Serial Port                                                   
  10221. 'LPT1'- Primary Parallel Port                                                   
  10222. 'LPT2'- Secondary Parallel Port                                                 
  10223.                                                                                 
  10224. The value at the bottom is a hexidecimal set of flags for setting the port for  
  10225. on-line printers or plotters.                                                   
  10226.                                                                                 
  10227. The packed coded device mode word with the device mode byte in the most         
  10228. significant part of the integer, and the serial modest byte in the least        
  10229. significant part of the integer.                                                
  10230.                                                                                 
  10231. Format of the integer = [device mode | serial modeset].                         
  10232.                                                                                 
  10233.  
  10234.                                                                      191
  10235. Device mode byte description:  [bits]                                           
  10236. 76543210                                                                        
  10237. _______0  = XON/XOFF flow control                                               
  10238. _______1  = Hardware flow control on DSR line                                   
  10239. ______0_  = Bell with FRAME or PLTEND                                           
  10240. ______1_  = No bell with FRAME or PLTEND                                        
  10241. _____0__  = Cr with FRAME or PLTEND                                             
  10242. _____1__  = No cr with FRAME or PLTEND                                          
  10243. ____0___  = Check for break in PLOT                                             
  10244. ____1___  = No check for break in PLOT                                          
  10245. ___0____  = HP pen plotter handshake init                                       
  10246. ___1____  = No HP pen plotter handshake init                                    
  10247.                                                                                 
  10248. Serial modeset byte description:  [bits]                                        
  10249. 7      6   5  4    3        2        1    0                                     
  10250. --Baud Rate-- -Parity-  -Stop Bits- -Char Length-                               
  10251. 000 -   110  00 - None  0  - 1   10  - 7 Bits                                   
  10252. 001 -   300  01 - Odd   1  - 2   11  - 8 Bits                                   
  10253. 010 -   600  11 - Even                                                          
  10254. 011 -  1200                                                                     
  10255. 100 -  2400                                                                     
  10256. 101 -  4800                                                                     
  10257. 110 -  9600                                                                     
  10258. 111 - 19200                                                                     
  10259.                                                                                 
  10260. For example, 9600 baud, no parity, 1 stop bit, 8 bits is                        
  10261.                                                                                 
  10262. 110 00 0 11 = C3 hex = 195 decimal                                              
  10263.                                                                                 
  10264.  
  10265.   C. 2 Plotter setup                                     
  10266.       -------------
  10267.  
  10268.                                                                                 
  10269. Plotter pens should agree with those defined in device files. The standard      
  10270. order is:                                                                       
  10271. BLACK        PEN 1                                                              
  10272. BLUE         PEN 2                                                              
  10273. GREEN        PEN 3                                                              
  10274. RED          PEN 4                                                              
  10275. YELLOW       PEN 5  The last four dont matter that much!                        
  10276. MAGENTA      PEN 6                                                              
  10277. CYAN         PEN 7                                                              
  10278. GREY         PEN 8                                                              
  10279.                                                                                 
  10280. If this order conflicts with other packages in use the device files can be      
  10281. modified. The order of the first four pens is particularly important for colour 
  10282. simulation, although as long as all pens have different colours the final maps  
  10283. will probably be acceptable.                                                    
  10284.                                                                                 
  10285.                                                                                 
  10286. Plotters will usually use software handshaking.                                 
  10287.                                                                                 
  10288. HP pen plotters require a serial interface between the  Personal Computer and   
  10289. the HP pen plotter. On the PC side, a cable with a D9 or D25 connector should be
  10290. connected to a  serial port or asynchronous adapter port. On the HP pen plotter,
  10291. a cable with a D25 connector should be connected to the computer/modem port. A  
  10292. detailed specification of the way the  cable should be wired follows:           
  10293.  
  10294.                                                                      192
  10295.                                                                                 
  10296. Serial cable wiring for HP pen plotters: 7440A, 7470A, 7475A, 7550A             
  10297.                                                                                 
  10298.  ----------------------------             -----------------------               
  10299. | Personal Computer          |           | HP Pen Plotter        |              
  10300. | [Serial I/O Port or        |           | [Computer/modem port] |              
  10301. | Asynchronous Adapter Port] |           |                       |              
  10302.  ----------------------------              ----------------------               
  10303.                                                                                 
  10304.       Transmit Data     *-------------------*   Receive Data                    
  10305.        [D9/Pin-3, or                             [D25/Pin-3]                    
  10306.         D25/Pin-2]                                                              
  10307.                                                                                 
  10308.       Receive Data      *-------------------*   Transmit Data                   
  10309.        [D9/Pin-2, or                             [D25/Pin-2]                    
  10310.         D25/Pin-3]                                                              
  10311.                                                                                 
  10312.       Signal Ground     *-------------------*   Signal Ground                   
  10313.        [D9/Pin-5, or                             [D25/Pin-7]                    
  10314.         D25/Pin-7]                                                              
  10315.                                                                                 
  10316.       Data Set Ready    *-----*-------------*   Data Terminal Ready             
  10317.        [D9/Pin-6, or          |                  [D25/Pin-20]                   
  10318.         D25/Pin-6]            |                                                 
  10319.                               |                                                 
  10320.       Clear-To-Send     *-----*                                                 
  10321.        [D9/Pin-8, or                                                            
  10322.         D25/Pin-5]                                                              
  10323.                                                                                 
  10324.       Data Terminal Rdy *--------------*-----*  Data Set Ready                  
  10325.        [D9/Pin-4, or                   |         [D25/Pin-6]                    
  10326.         D25/Pin-20]                    |                                        
  10327.                                        |                                        
  10328.                                        *-----*  Clear-To-Send                   
  10329.                                                  [D25/Pin-5]                    
  10330.                                                                                 
  10331. Please note that the previous wiring diagram is necessary if full hardware      
  10332. handshake is desired. If the user intends to  use only software handshake       
  10333. (XON/XOFF), then only three wires  are required. For software handshake the only
  10334. connections  required are: signal ground, receive data, and transmit data.      
  10335.                                                                                 
  10336.      There are certain restrictions when an HP pen plotter is used as the plot  
  10337. device. Not all HP pen plotters possess equal capability! SciPlot only supports 
  10338. the 7470A, the 7475A, and the 7550A HP Pen Plotter. There are enough control    
  10339. mechanisms in SciPlot to allow the use of others though.  Please note the       
  10340. following:                                                                      
  10341.                                                                                 
  10342.  The "INIT=ON" command in the VECTOR.CFG file will send initialization commands 
  10343. in the I/O stream to the  plotter when VECTOR is executed. Older HP plotters    
  10344. will  produce errors on receipt of these handshake mode commands.  If this      
  10345. happens, set "INIT=OFF" in the VECTOR.CFG file, and the offending commands will 
  10346. be deleted from the stream.                                                     
  10347.                                                                                 
  10348.                                                                                 
  10349.  
  10350.                                                                      193
  10351.                      D. GLOSSARY OF TERMS                                 
  10352.                        =================
  10353.  
  10354. The purpose of this Appendix is to provide definitions for a number of          
  10355. terms used within this Guide.  Most of these terms are commonly used words      
  10356. or phrases which have taken on a more precise technical meaning in one of       
  10357. the areas spanned by the OzGIS system.  Technical terms have been               
  10358. borrowed from the jargon of statistics, data processing, computer software      
  10359. and hardware, cartography, and graphic arts.  Because of the diversity of       
  10360. these disciplines, it is unlikely that a potential OzGIS user will have         
  10361. developed a level of expertise in each.  This glossary should provide most      
  10362. of the information necessary for communicating the basic concepts of            
  10363. OzGIS.                                                                          
  10364.                                                                                 
  10365. The glossary is available on-line, and is accessed by typing 'G' to a menu      
  10366. selection request.                                                              
  10367.                                                                                 
  10368. Area - 1) A measurement of the size of a geographical region whose shape is     
  10369.    displayed on the OzGIS monitor.  2) An arbitrary portion of the face         
  10370.    of the monitor.                                                              
  10371.                                                                                 
  10372. Attribute - A general term for the variable associated with a set of            
  10373.    geographic zones, lines or sites to be processed by OzGIS.                   
  10374.    Attributes may be variates, statistics or simply data collected for each     
  10375.    item.  Note that the modes of display for an attribute are usually           
  10376.    referred to as "single variate" or "bi-variate".  See also Variate and       
  10377.    Statistic.                                                                   
  10378.                                                                                 
  10379. Background - The informationless area displayed on the monitor around a map     
  10380.    and its associated components.  Usually given a user selected, neutral       
  10381.    colour such as black or white.                                               
  10382.                                                                                 
  10383. Bit - A unit of information representing the value (either 1 or 0) of a         
  10384.    single binary digit.                                                         
  10385.                                                                                 
  10386. Bivariate - A display of the relative distribution of two different sets        
  10387.    of statistics on the same map.  It must be noted that no relationship        
  10388.    between the two statistics is implied by the display.  For example, if       
  10389.    the distribution of little old ladies is displayed simultaneously with       
  10390.    the distribution of cricket players, the result is not a display of the      
  10391.    distribution of little old ladies who play cricket.  See also Variate.       
  10392.                                                                                 
  10393. Boundary - A set of lines displayed on the monitor to represent the edges       
  10394.    of polygons defined to the system.  Often the same as zone edges.            
  10395.                                                                                 
  10396. Byte - A group of eight bits.  See also Bit.                                    
  10397.                                                                                 
  10398. Catchment - The region of influence around a site e.g. suburbs around a         
  10399.    shopping centre where most of the customers live.                            
  10400.                                                                                 
  10401.                                                                                 
  10402. Character - A single symbolic pattern which may be displayed on either the      
  10403.    monitor or terminal.  It may be alphabetic, numeric, or punctuational,       
  10404.    as the normal symbols encountered on a typical typewriter keyboard, or a     
  10405.    special symbol generated for display as an entity, such as a square root     
  10406.    symbol.                                                                      
  10407.                                                                                 
  10408.  
  10409.                                                                      194
  10410. Choropleth Map - A map portraying the values of an attribute averaged over      
  10411.    data collection units (or zones) and represented by a symbol covering        
  10412.    the entire unit.  A map displayed by OzGIS represents the zones by a         
  10413.    uniform colour.                                                              
  10414.                                                                                 
  10415. Class - A convenient subdivision of the total range of values of a              
  10416.    particular statistical variate.  Classes are usually chosen to make          
  10417.    computations or analyses less labourious, or to make the results of such     
  10418.    analyses more obvious or meaningful.  For example, the range of a set of     
  10419.    values might be divided into ten equal classes in order to highlight         
  10420.    items in the top ten percent.  See also Variate, Class Boundary, Class       
  10421.    Interval and Class Number.                                                   
  10422.                                                                                 
  10423. Class Boundary - The special values of variates which determine the upper       
  10424.    and lower limits of the range of a class.  See also Class.                   
  10425.                                                                                 
  10426. Class Interval - The range of variate values between the upper and lower        
  10427.    limits of the class.  See also Class.                                        
  10428.                                                                                 
  10429. Class Number - A cardinal number assigned to each class into which a            
  10430.    particular statistical range has been divided.  Conventionally, the          
  10431.    class whose members have the lowest magnitude is assigned number 1, with     
  10432.    class numbers increasing uniformly as the magnitude of class values          
  10433.    increases.  See also Class.                                                  
  10434.                                                                                 
  10435. Colour - One of the combinations of blue, green, and red which may be           
  10436.    specified for display on the monitor.  The total number of colours           
  10437.    available depends on the display system.                                     
  10438.                                                                                 
  10439. Colour Space - The range of colours which may be specified for display on       
  10440.    the colour monitor.  Since the colours are specified as values of blue,      
  10441.    green, and red, it is convenient to think of the colour space as a cube      
  10442.    located on a standard three dimensional coordinate system.  Black is         
  10443.    placed at the origin, with each of the x, y and z axes representing          
  10444.    blue, green, and red, respectively.  The range of possible values is 0.0     
  10445.    to 1.0 on each axis of the cube.                                             
  10446.                                                                                 
  10447. Continuous Colour - A method of representating statistical values               
  10448.    associated with map zones by graduating zone colours to correspond with      
  10449.    changes in statistical value.  From a user defined, or default, sequence     
  10450.    of colours, OzGIS generates the intermediate colours to provide a            
  10451.    12 colour graduated path through the colour space.  The statistic to be      
  10452.    represented is quantized into 12 equal value classes, and the classes        
  10453.    are assigned colours from the generated colour sequence.  This allows        
  10454.    small changes in statistical value to be represented by subtle changes       
  10455.    in colour, while large changes in value may be visually observed as          
  10456.    significant colour differences.                                              
  10457.                                                                                 
  10458.                                                                                 
  10459. Controller - A general term applied to a piece of intermediate equipment in     
  10460.    the data path between the electrical signals of a processor and their        
  10461.    physical realization in a peripheral device.  Within OzGIS, the term         
  10462.    will most often be used for the Color Display Controller.                    
  10463.    It will be used to a lesser extent to describe interface controllers for     
  10464.    the various disc and tape drives.                                            
  10465.                                                                                 
  10466. Coordinate - One of a pair of numbers which designates the location of a        
  10467.    geographic point with respect to another known point.  Geographic files      
  10468.  
  10469.                                                                      195
  10470.    for entry into the system under OzGIS must have their points                 
  10471.    specified in appropriately scaled and formatted coordinates.  The            
  10472.    coordinates specified by the user are converted by OzGIS for display         
  10473.    on the monitor.  On the monitor screen, the origin is in the lower left      
  10474.    hand corner of the viewing area.  The coordinates of a point on the          
  10475.    monitor screen are specified by their distance right and up from the         
  10476.    origin                                                                       
  10477.                                                                                 
  10478. Crosshair Cursor - A pair of lines at right angles to each other which is       
  10479.    displayed on the monitor to designate the location of a certain point of     
  10480.    interest.  Under most circumstances, the location of the crosshair           
  10481.    cursor may be controlled by movements of the mouse.  See also Box            
  10482.    Cursor, and Joystick.                                                        
  10483.                                                                                 
  10484. Data - Numerical values associated with certain physical phenomena, such as     
  10485.    128 cm long, 14 years old, or 43 kangaroos.  As a generality,                
  10486.    OzGIS was not designed to handle data, but rather the statistics             
  10487.    derived from data, such as average length, medium age, or number of          
  10488.    kangaroos per hectare.  See also Statistics.                                 
  10489.                                                                                 
  10490. Decile - One of the nine data values which divide the range of a variate        
  10491.    into ten equal sized classes.  See also Quantile and Percentile.             
  10492.                                                                                 
  10493. Default - A set of parameters automatically selected by OzGIS in the            
  10494.    absence of any stated preference by the user.  The actual default            
  10495.    parameters may be defined by the user in the users default file.  For        
  10496.    example, OzGIS may initially display a map by arbitrarily selecting          
  10497.    zone colours from a palette of possible shades which the user selected       
  10498.    previously.  After this default colouring, the user may wish to change       
  10499.    some particular zone colour to improve the appearance of the display.        
  10500.                                                                                 
  10501. Disc - An electronic device for storing digital data on a rotating plate        
  10502.    coated with magnetic material.  See also Controller.                         
  10503.                                                                                 
  10504. Display - As a verb, the act of presenting information on the monitor or        
  10505.    terminal for the purpose of visually communicating that information to       
  10506.    the user.  This includes all the procedures necessary to correctly           
  10507.    present the information in a format suitable for both the equipment and      
  10508.    the viewer.  Example:  "A map is displayed on the monitor, while a menu      
  10509.    is displayed on the terminal".                                               
  10510.                                                                                 
  10511.                                                                                 
  10512.    As a noun, the presentation which is visually perceived when a user          
  10513.    looks at the screen of the monitor or terminal;  the total information       
  10514.    content on the screen.  Examples:  "The terminal display indicates the       
  10515.    options possible now";  "This map display is too red".  See also Monitor     
  10516.    and Terminal.                                                                
  10517.                                                                                 
  10518. Display Elements - The components or items of a display on the OzGIS            
  10519.    monitor;  for example, legend, title, image map, boundaries, image           
  10520.    symbols, histograms.                                                         
  10521.                                                                                 
  10522. Distribution - The manner in which a number of samples of data are spread       
  10523.    across the range of possible values.  May be a subjective statement,         
  10524.    such as:  "These data appear to have an even distribution".  More often,     
  10525.    some quantifiable measure will be given such as:  "These data have a         
  10526.    normal distribution with a mean of 40 and standard deviation of 3".          
  10527.    Sometimes, distribution information will be presented in graphical form,     
  10528.  
  10529.                                                                      196
  10530.    such as a histogram or scatter diagram.                                      
  10531.                                                                                 
  10532. Equal Value Quantization - A method of dividing the range of values of a        
  10533.    statistical variate into a number of classes where the magnitude of the      
  10534.    range of each class is the same.  See also Class.                            
  10535.                                                                                 
  10536. Excluded Zone - A zone displayed on the map and coloured with a special         
  10537.    shade indicating that it has not been used for quantization or has been      
  10538.    omitted from the area of interest.                                           
  10539.                                                                                 
  10540. File - A number of data items grouped together and considered as a unit for     
  10541.    convenience of storage and retrieval by a computer.  Within OzGIS,           
  10542.    such files are stored as distinct entities on disk.  Files are               
  10543.    identified by media designation, name, and type.  The OzGIS user             
  10544.    normally supplies only the file name, but the storage media may also be      
  10545.    specified.  The file type is supplied by the system.  The same name may      
  10546.    be used for files of different types, but within a particular type, no       
  10547.    two files may have the same name.                                            
  10548.                                                                                 
  10549. Frequency - A statistical term referring to the number of members of a          
  10550.    population falling into a specified class.  See also Class.                  
  10551.                                                                                 
  10552. Geographic Data - Digitized map data which are referenced to a geographic       
  10553.    (or spatial) coordinate system, usually a map projection.                    
  10554.                                                                                 
  10555. Graphics - Data which can be displayed on the monitor in terms of lines         
  10556.    points and text, as opposed to colouring and filling regions of the          
  10557.    screen.  Used to refer to geographic and symbol data.                        
  10558.                                                                                 
  10559. Histogram - A type of bar graph in which vertical rectangles are erected on     
  10560.    the horizontal axis with the height of each bar representing the             
  10561.    frequency, and the width representing the corresponding class interval,      
  10562.    for each of the classes of a particular variate.  OzGIS can display          
  10563.    such statistical information on the monitor.  See also Scatter Diagram,      
  10564.    and Class.                                                                   
  10565.                                                                                 
  10566.                                                                                 
  10567. Information - The subjective knowledge which may be associated with an          
  10568.    objective set of data.  The ages and locations of children are data;         
  10569.    the distribution of school age children is statistic;  where the schools     
  10570.    should be built is information.  See also Data and Statistics.               
  10571.                                                                                 
  10572. Interval - The numerical distance between the upper and lower limits of a       
  10573.    class.                                                                       
  10574.                                                                                 
  10575. Joystick - An electro-mechanical device which converts the positions of a       
  10576.    small lever into electrical voltages.  The voltages are further              
  10577.    converted into digital signals which are used by the PDP11 to                
  10578.    position various cursor patterns on the monitor screen.  See also Box        
  10579.    Cursor, and Crosshair Cursor.                                                
  10580.                                                                                 
  10581. Legend - A display on the monitor which indicates the correspondence            
  10582.    between the statistical values and their associated colours or symbols       
  10583.    as defined for a particular map.  The legend usually occupies                
  10584.    approximately the rightmost one fifth of the viewing area of the monitor     
  10585.    and has two general forms, single variate and bivariate.  One type of        
  10586.    single variate legend consists of a column of coloured rectangles beside     
  10587.    which are numbers indicating the corresponding class boundaries for          
  10588.  
  10589.                                                                      197
  10590.    those colours.  The other is a rectangular column with colours gradually     
  10591.    changing from top to bottom, and an upper and lower number indicating        
  10592.    the range across which the "Continous Colour" varies.  The bivariate         
  10593.    legend consists of a 45 degree parallelogram divided left to right and       
  10594.    up and down into coloured smaller parallelograms.  A set of numbers          
  10595.    along the left side indicates the class boundaries of the primary            
  10596.    variate, while similar numbers across the upper side indicate the            
  10597.    secondary variate class boundaries.                                          
  10598.                                                                                 
  10599. Line - This term has three special meanings within OzGIS in addition to         
  10600.    its normal English usage.  (1) Any set of contiguous segments comprising     
  10601.    the section of a zone boundary which has one zone on its right and a         
  10602.    second zone on its left as part of a map.  (2) Any contiguous set of         
  10603.    segments as part of a graphics display.  (3) A set of alpha-numeric          
  10604.    characters meant to be displayed as one row on either the monitor or the     
  10605.    terminal.                                                                    
  10606.                                                                                 
  10607. Location - The position of a datum point, or pixel, on the monitor screen.      
  10608.    This is given by its x and y coordinates, with the origin in the lower       
  10609.    left hand corner.  The range of values depends on the display system.        
  10610.                                                                                 
  10611. Lookup Table (LUT) - A table in the display system which can modify the         
  10612.    value in memory for display purposes.                                        
  10613.                                                                                 
  10614. Map - Geographic data which can be displayed on the monitor by colouring        
  10615.    and filling regions of the screen or as lines or symbols.                    
  10616.                                                                                 
  10617. Map Projection - Refers to the coordinate system used for processing the        
  10618.    display of a map.                                                            
  10619.                                                                                 
  10620.                                                                                 
  10621. Markers - Special characters or symbols which may be displayed on the           
  10622.    monitor to identify locations of points.  For example, aircraft              
  10623.    symbols to indicate the location of airports.  Different sized markers       
  10624.    are used to show the classification of site attribute data.                  
  10625.                                                                                 
  10626. Mean - The arithmetic average of a set of data values.                          
  10627.                                                                                 
  10628. Memory - A portion of the OzGIS hardware used for the storage of data           
  10629.    by the altering of the electrical state of the appropriate circuitry.        
  10630.                                                                                 
  10631. Menu - An itemized list of alternative actions which might be selected          
  10632.    within OzGIS.  Menus are displayed on the terminal.  The terminal            
  10633.    keyboard is used to enter selections from the options listed on the          
  10634.    menu.  The sequence of menu items which is selected controls the "flow"      
  10635.    of the OzGIS program through its various tasks.                              
  10636.                                                                                 
  10637. Monitor - The electronic equipment, resembling a colour television              
  10638.    receiver, on which maps and graphics are displayed.                          
  10639.                                                                                 
  10640. Nested Means - A quantization method in which classes are generated by          
  10641.    dividing each variate range into two classes about the mean for that         
  10642.    range.  For example, the central class limit is set at the overall mean,     
  10643.    then the upper and lower classes are each divided at the means of the        
  10644.    two parts, giving four classes.  This process may be repeated, giving        
  10645.    eight classes.                                                               
  10646.                                                                                 
  10647. Operating System - Computer software provided to facilitate usage of the        
  10648.  
  10649.                                                                      198
  10650.    various computer resources available within the OzGIS system.                
  10651.                                                                                 
  10652. Overlay - As a noun, overlay refers to graphic data written on top of the       
  10653.    existing display.  This is displayed on the monitor as though placed         
  10654.    between the previous display and the viewer.  Overlays generally are         
  10655.    entered in the refresh memory in single bit planes.                          
  10656.    As a verb, overlay refers to the act of adding graphics data to a            
  10657.    display by putting it "on top of" the previous display.                      
  10658.                                                                                 
  10659. Palette - An array of coloured rectangles which is displayed on the monitor     
  10660.    at certain stages of OzGIS.  The palette shows a range of colours            
  10661.    which are available for selection by the user.  Palettes are held as         
  10662.    files within OzGIS.  Several palette files are provided as part of           
  10663.    the software package.                                                        
  10664.                                                                                 
  10665. Parameter - A general term referring to a physical characteristic which may     
  10666.    be measured or quantified in some way, even though the precise value of      
  10667.    that measurement may be unknown in specific instances.  For example, age     
  10668.    is a parameter of human beings.                                              
  10669.                                                                                 
  10670. Percentile - One of the set of 99 values which divide the range of a            
  10671.    statistic into 100 equal sized classes.                                      
  10672.                                                                                 
  10673. Peripherals - Items of auxillary equipment added to a computer to enhance       
  10674.    its performance.  These include such items as disc drives, tape drives,      
  10675.    and printers.                                                                
  10676.                                                                                 
  10677.                                                                                 
  10678. Pixel - The smallest, individually controllable, element (or cell)              
  10679.    displayed as dots of colour on the monitor's screen.  The monitor area       
  10680.    is made up of lines of pixels.  For each pixel, there is a corresponding     
  10681.    location in the refresh memory for storing the data value associated         
  10682.    with that pixel.  This location is the smallest datum area which can be      
  10683.    individually controlled by the software.  See also Image and Location.       
  10684.                                                                                 
  10685. Point - A geographic feature which, for display purposes, may be described      
  10686.    by only indicating its location as an x and y coordinate.                    
  10687.                                                                                 
  10688. Polygon - A geographic area described by the line segments forming its          
  10689.    boundary and the zone name which forms its surface.  One or more             
  10690.    polygons may be combined to form a zone.                                     
  10691.                                                                                 
  10692. Presentation Maps - A set of maps prepared for rapid display on the             
  10693.    monitor.                                                                     
  10694.                                                                                 
  10695. Primary Variate - The set of statistical values characterized by a common       
  10696.    name which is displayed on any given single variate map.  Two such sets      
  10697.    of values are displayed on a bivariate map.  The primary variate is          
  10698.    named at the top of the title, and its colour values are indicated in        
  10699.    the rows of the legend.  See also Variate.                                   
  10700.                                                                                 
  10701. Processor - The hardware which executes the procedural and computational        
  10702.    tasks specified by OzGIS.  The standard OzGIS processor is a                 
  10703.    Digital Equipment Corporation minicomputer, the VAX.                         
  10704.                                                                                 
  10705.  Projection - The representation of a physical shape on the screen of the       
  10706.    monitor according to a fixed mathematical coordinate system.  Normally,      
  10707.    a projection in OzGIS terms will refer to a method for presenting            
  10708.  
  10709.                                                                      199
  10710.    maps of geographic areas.  See also Map Projection.                          
  10711.                                                                                 
  10712. Quantile - Any of the specific values which divide the range of a statistic     
  10713.    into equal sized classes.  Some values have other special terms, i.e.,       
  10714.    if the range is divided into four classes, the boundary values are           
  10715.    called quartiles.  See also Percentile.                                      
  10716.                                                                                 
  10717. Quantify - To assign a number or quantity to an otherwise unnumbered            
  10718.    entity.  In particular, to assign a class number to a statistical value      
  10719.    or zone name.                                                                
  10720.                                                                                 
  10721. Quantization - The process of assigning class numbers to zones according to     
  10722.    the value of the statistic for that zone.  Viewed the other way,             
  10723.    quantization is the process of putting zones into classes.                   
  10724.                                                                                 
  10725. Quartile - One of the three data values which divide the range of a variate     
  10726.    into four equal sized classes.  See also Quantile and Percentile.            
  10727.                                                                                 
  10728. Raster - a term applied to image data.  In particular data handled on a         
  10729.    line basis.                                                                  
  10730.                                                                                 
  10731.                                                                                 
  10732. Refresh Memory - The portion of the hardware (within the display                
  10733.    controller) which holds the digital data necessary to continuously           
  10734.    regenerate the colour monitor display.  The cathode ray tube (CRT) of        
  10735.    the monitor produces its display by electrically stimulating various         
  10736.    phosphorus based compounds deposited on its face.  The colours thus          
  10737.    produced fade rapidly with time and must be continually "refreshed".         
  10738.    The data necessary to perform this refresh correctly is stored in the        
  10739.    refresh memory.                                                              
  10740.                                                                                 
  10741. Region - A designated portion of a map displayed on the monitor.  A region      
  10742.    consists of one or more zones or parts of zones defined in some way          
  10743.    (e.g. a circular region centered at a point on the map).  The concept of     
  10744.    a region is important when the displayed map consists of several             
  10745.    geographic areas.  In this context, a region consists of a window            
  10746.    (geographic area) and its displayed viewport on the screen (screen           
  10747.    area).  See also Area.                                                       
  10748.                                                                                 
  10749. Save - To store on disc (or magnetic tape) all the pertinent data regarding     
  10750.    a map displayed on the monitor.  The maps which are "saved" can later be     
  10751.    fully regenerated with all details preserved.                                
  10752.                                                                                 
  10753. Scatter Diagram - A two dimensional plot of points whose x and y                
  10754.    coordinates are the values of the individual variates associated with        
  10755.    those points.  Scatter diagrams are displayed on the monitor in              
  10756.    conjunction with bivariate maps.  In this instance, each map zone is         
  10757.    assigned a point on the diagram.  The y-coordinate of the point              
  10758.    corresponds to the value of the primary variate for that zone as             
  10759.    displayed on the map.  The x-coordinate of the point has a similar           
  10760.    relationship to the secondary variate.  In addition, the point will be       
  10761.    coloured the same as its associated map zone.  Scatter diagrams provide      
  10762.    a visual method of assessing the correlation between the two variates        
  10763.    displayed on the map.                                                        
  10764.                                                                                 
  10765. Secondary Variate - The second set of statistical values which are              
  10766.    displayed (along with a primary variate) on the map.  The                    
  10767.    secondary variate is named at the bottom of the title.  See also Primary     
  10768.  
  10769.                                                                      200
  10770.    Variate.                                                                     
  10771.                                                                                 
  10772. Segment - A set of connected straight lines defined to OzGIS by                 
  10773.    specifying the coordinates of their starting, intermediate, and end          
  10774.    points, along with the names of the two zones on either side of the          
  10775.    lines.  Consequently, segments must represent a portion, or all, of the      
  10776.    boundary between two zones.  See also Line and Boundary.                     
  10777.                                                                                 
  10778. Site - A geographic location that has associated attribute data.  A site is     
  10779.    defined by a name and fixed location e.g. a site could be a city or a        
  10780.    retail store.                                                                
  10781.                                                                                 
  10782. Standard Deviation - A statistical measure of the dispersion amongst a set      
  10783.    of measured values.  The standard deviation is mathematically equivalent     
  10784.    to the positive square root of the variance of the sample on which the       
  10785.    statistic is based.                                                          
  10786.                                                                                 
  10787.                                                                                 
  10788. Statistics - A general term referring to:  1) The branch of mathematics         
  10789.    involved with performing certain analytical calculations regarding           
  10790.    various relationships among sets of numerical data, and 2) The numerical     
  10791.    results of such calculations.  The height of an individual is data;  the     
  10792.    average height of a group is a statistic.                                    
  10793.                                                                                 
  10794. Status - The present condition of the software and hardware system,             
  10795.    especially as to its progress toward the completion of the tasks at          
  10796.    hand.  The status messages are displayed as a response to                    
  10797.    typing interpretation of various abbreviated messages displayed on the       
  10798.    terminal.  The status messages are displayed as a response to typing an      
  10799.    "S" command.                                                                 
  10800.                                                                                 
  10801. Terminal - An item of hardware comprising a keyboard for entering commands      
  10802.    to the processor, and some means for the processor to return                 
  10803.    alpha-numeric messages to the user.  The standard OzGIS terminal is          
  10804.    the Digital Equipment Corporation VT100.  This contains the necessary        
  10805.    keyboard, and a cathode ray tube for displaying processor generated          
  10806.    messages.  Some OzGIS installations may also have a printer terminal         
  10807.    for providing a permanent copy of the messages on paper.                     
  10808.                                                                                 
  10809. Territory - a zone which has been formed by amalgamating bas zones e.g. sales   
  10810.    territories formed from postcodes.                                           
  10811.                                                                                 
  10812. Text - Combinations of characters which may be specified by typing at the       
  10813.    terminal.  Lines of text may be displayed on either the terminal or the      
  10814.    monitor in various fonts.  See also Character, and Line.                     
  10815.                                                                                 
  10816. Time Lapse Maps - A formatted set of maps concerning a geographic area and      
  10817.    certain statistics associated with it as they have been collected over       
  10818.    time.  Time lapse files are used to display the time related changes in      
  10819.    the statistical data by rapid and periodic changes in map colours            
  10820.    corresponding to the statistics.  For example, variations in population      
  10821.    density, as recorded by the 1971, 1976, and 1981 census data, could be       
  10822.    shown by changing the colours of the displayed map at one second             
  10823.    intervals corresponding to the 3 sets of data.                               
  10824.                                                                                 
  10825. User - The person who is interactively controlling the OzGIS system at          
  10826.    the terminal.                                                                
  10827.                                                                                 
  10828.  
  10829.                                                                      201
  10830. Value - The number associated with a particular statistical item, as            
  10831.    opposed to the colour associated with that item.  For example, the zone      
  10832.    might be coloured red to indicate four to ten beer drinkers per pub in       
  10833.    that zone.  The actual value of the statistic might be 9.4 beer drinkers     
  10834.    per pub.                                                                     
  10835.                                                                                 
  10836. Variate - A measurable quantity which may take on any of the values within      
  10837.    a given range, and which has associated with it a specified probability      
  10838.    function describing the manner in which the permissible values are           
  10839.    likely to occur.  See also Bivariate, Primary Variate, and Secondary         
  10840.    Variate.                                                                     
  10841.                                                                                 
  10842. Viewport - The rectangular area of the colour monitor face selected for         
  10843.    displaying a specified item.                                                 
  10844.                                                                                 
  10845. Window - The rectangular portion of a geographic map which is selected for      
  10846.    display on the colour monitor.                                               
  10847.                                                                                 
  10848.                                                                                 
  10849. Zone - A geographic area which is to be considered as a spatial unit.  A        
  10850.    zone is defined in terms of one or more polygons which form it.              
  10851.    Statistically, a zone is defined in terms of a single value for each         
  10852.    variate in question.  This relationship of one variate value per defined     
  10853.    geographic zone allows zones to be completely and uniformly coloured in      
  10854.    a map display.  See also Polygon and Variate.                                
  10855.                                                                                 
  10856. Zone Name - An alphanumeric designation attached to the various                 
  10857.    computerized data associated with a zone.  The zone name facilitates for     
  10858.    the processor the task of relating various data items to the proper          
  10859.    zones.                                                                       
  10860.  
  10861.                                                                      202
  10862.                      E. SYSTEM LIMITS                                     
  10863.                        =============
  10864.  
  10865. The OzGIS system has a standard set of limits to various maximum counts. These  
  10866. correspond to array sizes.                                                      
  10867.                                                                                 
  10868.                                                                                 
  10869. The standard limits are:-                                                       
  10870.                                                                                 
  10871.      WINDOWS                                                                    
  10872.                                                                                 
  10873.     30000  max no displayed zones+sites+lines                                   
  10874.     30000  max no values in attribute file (zones,sites,lines)                  
  10875.     100    max no map regions                                                   
  10876.     100    max no quantised zone geog files                                     
  10877.     100    max no quantised site geog files                                     
  10878.     100    max no quantised line geog files                                     
  10879.     100    max no line overlays                                                 
  10880.     100    max no polygon underlays                                             
  10881.     100    max no marker overlays                                               
  10882.     100    max no name overlays                                                 
  10883.     100    max no text strings displayed                                        
  10884.     500    max no polygons in a zone                                            
  10885.     5000   max no segments in a polygon                                         
  10886.     100    max no segments in a line                                            
  10887.     5000   max no vertices in a segment                                         
  10888.     20000  max no points in a fast display polygon                              
  10889.     1000   max no zones per item in a combine file                              
  10890.     256    max length of display system LUT (number colours)                    
  10891.     50000  max no vertices in foreign segments data file                        
  10892.     30000  max no zones that can be built from line segments                    
  10893.     10000  max no vertices in object for spatial operations                     
  10894.      5000  max no items in a text attribute file                                
  10895.     15000  max no zones in a catchment                                          
  10896.            max no points in a catchment polygon                                 
  10897.            max no contours in a site catchment                                  
  10898.    120000  max no sitesXpoints for location allocation                          
  10899.  
  10900.                                                                      203
  10901.                      F. TROUBLE-SHOOTING                                  
  10902.                        ================
  10903.  
  10904. Startup problems are usually caused by not defining the WINDOWS group items     
  10905. properly. You cannot simply execute the WOZGIS.EXE file directly from the file  
  10906. manager as the directory has to be defined.                                     
  10907.                                                                                 
  10908. "Not Enough Memory" problems are usually just that. You need 4 Meg of RAM, and  
  10909. if you have network software etc loaded you may not have enough space. Note     
  10910. that the system will not run on a 286. A swap file may enable the software to   
  10911. run.                                                                            
  10912.                                                                                 
  10913. The development machine has 4Meg of RAM and runs WINDOWS 3.1 with a default     
  10914. installation. The DOS "MEM" command gives:                                      
  10915.                                                                                 
  10916.     655360 bytes total conventional memory                                      
  10917.     655360 bytes available to MS-DOS                                            
  10918.     545328 largest executable program size                                      
  10919.                                                                                 
  10920.    1048576 bytes total EMS memory                                               
  10921.    1048576 bytes free EMS memory                                                
  10922.                                                                                 
  10923.    3407872 bytes total contiguous extended memory                               
  10924.          0 bytes available contiguous extended memory                           
  10925.    1048576 bytes available XMS memory                                           
  10926.            MS-DOS resident in High Memory Area                                  
  10927.                                                                                 
  10928. If no text appears on maps the fonts used are probably not installed. See the   
  10929. installation chapter on \ozgis\ozgis.ini                                        
  10930.                                                                                 
  10931. There seems to be a bug in WINDOWS printing in that black backgrounds are       
  10932. not properly filled- use a device file with a white background e.g. *WINSV      
  10933.                                                                                 
  10934. There is a serious incompatibility (bug) in that dialog boxes are not           
  10935. automatically cleared under Windows 3.11 We do not know how to get around this  
  10936. without a full rewrite and massive loss of speed (as the map would have to      
  10937. be continually redrawn). We are waiting for WINDOWS 95.                         
  10938.                                                                                 
  10939. IO errors can be caused initially by lack of disk space. Some processing        
  10940. uses a lot of disk space as scratch files.                                      
  10941. If you have trouble with menus reload the \ozgis\ozgis.men file. This file      
  10942. defines all the menus and actions and is constantly rewritten. A hardware error 
  10943. could corrupt the file.                                                         
  10944.                                                                                 
  10945. Check the osgis.out file after problems to see if there are any error messages. 
  10946. Also look in windows.out                                                        
  10947.                                                                                 
  10948. The system generates scratch files with names ZZ... You have have to delete     
  10949. them sometimes.                                                                 
  10950. GIS data (digitised data) are often incorrect. This can cause problems with     
  10951. polygon display e.g. if zone boundaries cross themselves, and during zone       
  10952. building. Your data supplier probably wont be of much help. Try windowing into  
  10953. the part of the map with problems to isolate it and use the debug option to     
  10954. print values. You will have to patch the data files with a word processor.      
  10955.                                                                                 
  10956. Rebooting the system while the OzGIS programs are running can cause "loss" of   
  10957. disk space. This can be recovered using CHKDSK.                                 
  10958.  
  10959.                                                                      204
  10960.                      G. REFERENCES                                        
  10961.                        ==========
  10962.  
  10963.                                                                                 
  10964. O'CALLAGHAN, J.F., SIMONS, L. and PALMER, J.A.B. (1980).  A prototype           
  10965. system for interactive colour mapping.  Proc. URPIS-8 (k. Davies (ed.)),        
  10966. Surfers Paradise, pp. 9.1-9.5.                                                  
  10967.                                                                                 
  10968. SIMONS, L., O'CALLAGHAN, J.F. and PAINE, T. (1982).  COLOURMAP - an             
  10969. interactive colour mapping workstation.  Proc. DECUS (Digital Equipment         
  10970. Computer Users Society), Melbourne, Vol. 10, pp.1501-1504.                      
  10971.                                                                                 
  10972. O'CALLAGHAN J.F., and SIMONS, L.W.J. (1983) COLOURMAP: An Interactive           
  10973. Colour Mapping System. Proc. First Australasian Conference on Computer          
  10974. Graphics, Sydney.                                                               
  10975.                                                                                 
  10976. O'CALLAGHAN J.F., and SIMONS, L.W.J. (1984).   Map Display Techniques for       
  10977. Interactive Colour Mapping.                                                     
  10978.                                                                                 
  10979. Henzell, O'Callaghan. A Sequential Line Simplification Algorithm based on       
  10980. Equivalent Height. CSIRONET Technical Report, May 1980                          
  10981.                                                                                 
  10982. Robertson, O'Callaghan. The Generation of Colour Sequences for Univariate and   
  10983. Bivariate Mapping. IEEE Computer Graphics and Applications, February 1986.      
  10984.                                                                                 
  10985. Gerald Evenden. Cartographic Projection Procedures for the UNIX Environment - A 
  10986. User's Manual. USGS open-file report 90-284.                                    
  10987.                                                                                 
  10988. TIGER/Line Census Files, 1990 Technical Documentation / prepared                
  10989. by the Bureau of the Census. Washington:  The Bureau, 1991.                     
  10990.                                                                                 
  10991. Atef A Elassal. General Cartographic Transformation Package (GCTP), Version ii  
  10992. NOAA Technical Report NOS 124 CGS 9                                             
  10993.                                                                                 
  10994. J Sibert, 'Continuous-colour Choropleth Maps', Geo-Processing, (1980)           
  10995. 207-216.                                                                        
  10996.                                                                                 
  10997. 'The Harvard Library of Computer Graphics Mapping Collection', Harvard          
  10998. University.                                                                     
  10999.                                                                                 
  11000. E Giamottic and P Puliafits, 'An Interactive Spatial Information System: A      
  11001. Tool for Regional Planning'; Proc IFIP 79.                                      
  11002.                                                                                 
  11003. J Dalton et al, 'Interactive Colour Map Displays of Domestic Information',      
  11004. Proc SIGGRAPH 79, Computer Graphics, Vol 13 No 2 ACM/SiGGRAPH.                  
  11005.                                                                                 
  11006. A Robinson et al, 'Elements of Cartography', Wiley 1978.                        
  11007.                                                                                 
  11008.                                                                                 
  11009. D Des Jardins, 'Multi-Level Statistical Maps in Graphic Communication',         
  11010. Proc NCGA, Anaheim 1982.                                                        
  11011.                                                                                 
  11012. "ACORD: AUTOMATIC COUNTOURING OF RAW DATA, Computers & Geosciences,             
  11013. vol. 8, no. 1, p. 97-101, 1982", by D.F. Watson.                                
  11014.                                                                                 
  11015. L Cooper, 'Location allocation problems', Operatons Research 11, p 331-343      
  11016. 1963.                                                                           
  11017.  
  11018.                                                                      205
  11019.                                                                                 
  11020. Goodchild and Massam, 'The transportation-location problem', Operations         
  11021. Research 20, 1969.                                                              
  11022.                                                                                 
  11023. Tornqvist et al, Multiple Location Analysis, 1971.                              
  11024.  
  11025.                     CONTENTS
  11026.  
  11027.   1. OzGIS INTRODUCTION                                              4          
  11028.   1. 1 Programs                                                      4          
  11029.   1. 2 Concepts                                                      4          
  11030.   1. 3 Environment                                                   5          
  11031.   2. INSTALLATION                                                    7          
  11032.   2. 1 Installation                                                  7          
  11033.   2. 2 Documentation                                                 7          
  11034.   2. 3 Directories                                                   7          
  11035.   2. 4 Environment                                                   8          
  11036.   2. 5 Display Drivers                                               8          
  11037.   2. 6 Installion in WINDOWS                                         8          
  11038.   2. 7 OzGIS initialisation file                                     9          
  11039.   2. 8 Demonstration                                                10          
  11040.   2. 9 First Example Map                                            10          
  11041.   2.10 Second Example Map                                           11          
  11042.   2.11 Hardcopy configuration                                       11          
  11043.   3. DATA ENTRY                                                     12          
  11044.   3. 1 Introduction                                                 12          
  11045.   3. 2 Example of data entry                                        13          
  11046.   3. 3 Demonstration Files                                          15          
  11047.   3. 4 Example geographic and attribute data                        15          
  11048.   3. 5 Example device files                                         17          
  11049.   3. 6 Marker data files                                            17          
  11050.   3. 7 Colour names data (no longer used)                           17          
  11051.   4. BASIC CHOROPLETH MAPPING EXAMPLE                               18          
  11052.   4. 1 Simple Census-type Mapping                                   18          
  11053.   4. 2 Example Choropleth Map                                       18          
  11054.   4. 3 Summary                                                      20          
  11055.   5. INTERACTIVE USER INTERFACE TO OzGIS                            22          
  11056.   5. 1 OzGIS Menus                                                  22          
  11057.   5. 2 Question Dialog Boxes                                        23          
  11058.   5. 3 Command Dialog Boxes                                         23          
  11059.   5. 4 Graphic interaction                                          24          
  11060.   5. 5  Print file                                                  24          
  11061.   6. OzGIS FILES                                                    25          
  11062.   6. 1 File Origins                                                 25          
  11063.   6. 2 File types                                                   26          
  11064.   6. 3 File Names                                                   28          
  11065.   6. 4 Directories                                                  29          
  11066.   7. DEVICE FILES                                                   30          
  11067.   8. OzGIS MAP TYPES                                                33          
  11068.   8. 1 Map Types                                                    33          
  11069.   8. 2 Attribute maps                                               33          
  11070.   8. 2. 1 Bivariate zones map Example                               34          
  11071.   8. 2. 2 Zones & sites Example                                     34          
  11072.   8. 2. 3 Geographic (GIS) maps Example                             35          
  11073.   8. 2. 4 Diagrams Example                                          37          
  11074.   8. 3 Presentations                                                38          
  11075.   8. 4 Saved-display files                                          38          
  11076.   8. 5 Time Lapse Display (not available)                           38          
  11077.   9. ATTRIBUTE SELECTION                                            39          
  11078.   9. 1 Introduction                                                 39          
  11079.   9. 2 From a list                                                  39          
  11080.   9. 3 Sequentially                                                 39          
  11081.   9. 4 By number (position in file)                                 39          
  11082.   9. 5 By attribute description                                     39          
  11083.  
  11084.   9. 6 By arithmetic operation                                      40          
  11085.   9. 7 Zone/Site/Line names                                         40          
  11086.  10. QUANTISATION                                                   41          
  11087.  10. 1 Introduction                                                 41          
  11088.  10. 2 Quantisation Methods                                         42          
  11089.  10. 3 Quantisation Ranges                                          44          
  11090.  10. 4 Quantisation Lists                                           44          
  11091.  11. GEOGRAPHIC OVERLAYS                                            46          
  11092.  11. 1 Introduction                                                 46          
  11093.  11. 2 USA Census / TIGER Overlays Example                          47          
  11094.  12.  DISPLAY CONTROL & MAP DESIGN                                  49          
  11095.  12. 1 Introduction                                                 49          
  11096.  12. 2  Map Quantisation Legends                                    49          
  11097.  12. 3 Overlays (GIS) legends                                       51          
  11098.  12. 4 Other Legends                                                51          
  11099.  12. 5 Text                                                         51          
  11100.  12. 6 Attribute Diagrams                                           51          
  11101.  12. 7 Displayed Colours (removed)                                  52          
  11102.  13. MAP REGIONS                                                    54          
  11103.  13. 1 Introduction                                                 54          
  11104.  13. 2 Regions                                                      55          
  11105.  13. 3 Map List                                                     56          
  11106.  13. 4 Quantised Zones                                              56          
  11107.  13. 5 Quantised lines                                              57          
  11108.  13. 6 Quantised sites                                              57          
  11109.  13. 7 Line Overlays                                                57          
  11110.  13. 8 Polygon underlays                                            58          
  11111.  13. 9 Marker Overlays                                              58          
  11112.  13.10 Name Overlays                                                58          
  11113.  13.11 Map Modification                                             58          
  11114.  14.  MAP ANALYSIS                                                  59          
  11115.  14. 1 Introduction                                                 59          
  11116.  14. 2 Map Reports                                                  59          
  11117.  14. 3 Attribute Data Statistics                                    59          
  11118.  14. 4 Map Interrogation                                            60          
  11119.  15. DATA PREPARATION                                               62          
  11120.  15. 1 Introduction                                                 62          
  11121.  15. 2 Attribute Files                                              62          
  11122.  15. 3 Geographic Files                                             63          
  11123.  15. 4  Names Files                                                 64          
  11124.  15. 5  Output to Data Files                                        64          
  11125.  15. 6 Palette Files (Removed from system)                          65          
  11126.  15. 7 Colour Names Files  (Removed from system)                    65          
  11127.  16. BUILDING ZONES FROM SEGMENTS                                   66          
  11128.  16. 1 Use                                                          66          
  11129.  16. 2 Faulty Digitised Data                                        67          
  11130.  16. 3 Example                                                      67          
  11131.  17. WK1 INTERFACE TO OTHER SOFTWARE                                69          
  11132.  17. 1 Introduction                                                 69          
  11133.  17. 2 Attribute data                                               69          
  11134.  17. 3 Names Files (lists of names)                                 70          
  11135.  17. 4 Points                                                       70          
  11136.  17. 5 Territories and Catchments                                   70          
  11137.  17. 6 Addresses                                                    70          
  11138.  18. MAP PROJECTIONS                                                71          
  11139.  18. 1 Introduction                                                 71          
  11140.  18. 2 Precision                                                    71          
  11141.  18. 3 Latitude / longitude                                         71          
  11142.  
  11143.  18. 4 Projections                                                  72          
  11144.  18. 5 Ellipsoids                                                   72          
  11145.  18. 6 Use                                                          73          
  11146.  18. 7 Example                                                      73          
  11147.  19. HARDCOPY MAP PRODUCTION                                        74          
  11148.  19. 1 Overview                                                     74          
  11149.  19. 2 Procedure                                                    75          
  11150.  19. 3 Photographs                                                  75          
  11151.  19. 4 OzMap Device files                                           76          
  11152.  19. 5 VECTOR Program                                               76          
  11153.  19. 6 OzMap Example                                                80          
  11154.  19. 7 Fitting Maps on the Page                                     80          
  11155.  20. TERRITORY DEFINITION                                           83          
  11156.  21. ADDRESS MATCHING / GEOCODING                                   85          
  11157.  21. 1 Introduction                                                 85          
  11158.  21. 2 Addresses                                                    85          
  11159.  21. 3 Data entry                                                   86          
  11160.  21. 4 Address Matching                                             86          
  11161.  21. 5 Matching Addresses                                           87          
  11162.  21. 6 Procedure                                                    87          
  11163.  21. 7 Data                                                         88          
  11164.  21. 8 Abbreviations parameter file                                 89          
  11165.  21. 9 Handling Errors                                              89          
  11166.  22. SPATIAL OPERATIONS                                             91          
  11167.  22. 1 Operations                                                   91          
  11168.  22. 2 Feature codes                                                92          
  11169.  22. 3 Procedure                                                    92          
  11170.  23. SITE LOCATION / ALLOCATION                                     94          
  11171.  23. 1 Introduction                                                 94          
  11172.  23. 2 Example                                                      94          
  11173.  23. 3 Solutions                                                    95          
  11174.  23. 4 Sites                                                        95          
  11175.  23. 5 Geographic Data                                              95          
  11176.  23. 6 Attribute data                                               96          
  11177.  23. 7 Allocation                                                   96          
  11178.  23. 8 Parameters                                                   96          
  11179.  23. 9 Barriers and Freeways                                        97          
  11180.  23.10 Outputs                                                      97          
  11181.  24. SITE CATCHMENTS                                                98          
  11182.  24. 1 Introduction                                                 98          
  11183.  24. 2 First example                                               100          
  11184.  24. 3 Data                                                        100          
  11185.  24. 4 Example                                                     100          
  11186.  24. 5 Geographic files                                            103          
  11187.  24. 6 Catchment files                                             103          
  11188.  24. 7 Catchment modification                                      104          
  11189.  25. DIGITAL CHART OF THE WORLD                                    106          
  11190.  25. 1 Introduction                                                106          
  11191.  25. 2 Databases                                                   106          
  11192.  25. 3 Files                                                       106          
  11193.  25. 4 Utilities                                                   106          
  11194.  25. 5 Coverage directories                                        107          
  11195.  25. 6 Directory Contents                                          108          
  11196.  25. 7 Example - World Countries                                   110          
  11197.  25. 8 Tiles Example                                               112          
  11198.  25. 9 Polygons                                                    116          
  11199.  25.10 Summary                                                     116          
  11200.  25.11 Other VPF data                                              117          
  11201.  
  11202.   A. MAP DATA FORMATS                                              118          
  11203.   A. 1 Introduction                                                118          
  11204.   A. 2 OzGIS data Formats                                          118          
  11205.   A. 3 Description of File Formats                                 119          
  11206.   A. 4 Format of attribute files                                   120          
  11207.   A. 4. 1 Preprocessing                                            120          
  11208.   A. 4. 2 OzGIS Standard Format                                    120          
  11209.   A. 4. 3 Sample attribute file DEMOATTR.DAT                       121          
  11210.   A. 4. 4 Simple Attribute format (tabular database format)        121          
  11211.   A. 4. 5 Sample simple attribute file DEMOSASA.DAT                121          
  11212.   A. 4. 6 Spreadsheet WK1 format (Lotus, Excel etc)                122          
  11213.   A. 4. 7 ATLAS Data files                                         123          
  11214.   A. 4. 8 LAMM format                                              123          
  11215.   A. 4. 9 Comma delimited format                                   124          
  11216.   A. 4.10 Australian 1991 Census format                            125          
  11217.   A. 4.11 Other attribute data formats                             125          
  11218.   A. 5 Text Attribute files                                        126          
  11219.   A. 6 Standard OzGIS formats for geographic files                 127          
  11220.   A. 6. 1 General Information                                      127          
  11221.   A. 6. 2 Structure of data                                        127          
  11222.   A. 6. 3 Internal Data                                            128          
  11223.   A. 6. 4 Comment Record                                           128          
  11224.   A. 6. 5 Map Partition                                            128          
  11225.   A. 6. 6 Zones Partition                                          129          
  11226.   A. 6. 7 Line Partition                                           129          
  11227.   A. 6. 8 Polygons Partition                                       130          
  11228.   A. 6. 9 Segments Partition                                       130          
  11229.   A. 6.10 Points Partitions                                        132          
  11230.   A. 6.11 Sample boundaries geographic file DEMOZSEG.DAT           132          
  11231.   A. 6.12 Sample segments file with adddresses DEMOADDR.DAT        133          
  11232.   A. 6.13 Sample lines geographic file DEMOLINES.DAT               135          
  11233.   A. 6.14 Sample points geographic file DEMOPOINT.DAT              136          
  11234.   A. 7 Format of polygon geographic files                          137          
  11235.   A. 7. 1 Standard (not implemented)                               137          
  11236.   A. 7. 2 SAS Format Zone Files                                    137          
  11237.   A. 7. 3 Simple Format (old SAS) Zone Files                       138          
  11238.   A. 7. 4 Sample simple zones data file DEMOSASG.DAT               139          
  11239.   A. 8 GIS / common geographic file formats                        140          
  11240.   A. 8. 1 DIME format                                              140          
  11241.   A. 8. 2 DLG optional 3 format                                    140          
  11242.   A. 8. 3 Gina format                                              142          
  11243.   A. 8. 4 ANSII standard                                           144          
  11244.   A. 8. 5 SIF format (not available)                               144          
  11245.   A. 8. 6 DXF format                                               145          
  11246.   A. 8. 7 Digital Chart of the World                               146          
  11247.   A. 8. 8 IDRISI Vector Format                                     146          
  11248.   A. 8. 9 ATLAS Export Format                                      147          
  11249.   A. 8.10 MapInfo Data Interchange Format                          150          
  11250.   A. 9 Format of names files                                       153          
  11251.   A. 9. 1 Sample names file DEMOATTR.DAT                           153          
  11252.   A.10 Format of colour names files (Removed from system)          153          
  11253.   A.11 Format of combine files                                     154          
  11254.   A.11. 1 Sample combine file DEMOCOMB.DAT                         154          
  11255.   A.12 Format of presentation files                                154          
  11256.   A.12. 1 Sample presentation file                                 155          
  11257.   A.13 Format of marker files                                      155          
  11258.   A.13. 1 Sample marker file SQUARE.DAT                            156          
  11259.   A.14 Format of device files                                      156          
  11260.  
  11261.   B. USA Census data                                               162          
  11262.   B. 1 Overview                                                    162          
  11263.   B. 2 Documentation                                               163          
  11264.   B. 3 OzGIS Processing of TIGER data                              163          
  11265.   B. 4 Processing STF1A data                                       164          
  11266.   B. 5 The STF1A parameter file                                    165          
  11267.   B. 6 Example                                                     166          
  11268.   B. 7 OzGIS Census Zone Names                                     175          
  11269.   B. 8 STF1A Census data                                           175          
  11270.   B. 9 STF1A Geographic areas                                      175          
  11271.   B. 9. 1 Blocks                                                   175          
  11272.   B. 9. 2 Block Groups                                             176          
  11273.   B. 9. 3 Census tract and block numbering area                    176          
  11274.   B. 9. 4 Census Tract                                             177          
  11275.   B. 9. 5 County                                                   177          
  11276.   B. 9. 6 Hierarchical Presentation                                178          
  11277.   B. 9. 7 Zip codes                                                178          
  11278.   B.10 The STF1A file                                              179          
  11279.   B.10. 1 File Segments                                            179          
  11280.   B.10. 2 Field Names In Numeric Data Tables                       180          
  11281.   B.11  TIGER US Census Digital Map Data                           180          
  11282.   B.12  TIGER files                                                180          
  11283.   B.13 TIGER Geographic Area Definitions                           182          
  11284.   B.14 TIGER feature codes                                         184          
  11285.   C. CONFIGURING OZGIS                                             190          
  11286.   C. 1 Hardcopy configuration for  OzMap                           190          
  11287.   C. 2 Plotter setup                                               191          
  11288.   D. GLOSSARY OF TERMS                                             193          
  11289.   E. SYSTEM LIMITS                                                 202          
  11290.   F. TROUBLE-SHOOTING                                              203          
  11291.   G. REFERENCES                                                    204          
  11292.